SyntaxFix
Write A Post
Hire A Developer
Questions
Try this...
var start = new Date(document.getElementById('Stardate').value); var y = start.getFullYear();