Returns the year (4-digit year)
The getFullYear() method returns the year (four digits for dates between year 1000 and 9999) of the specified date.
A Number, from 1000 to 9999, representing the year
var vDate = new Date();var vYear = vDate.getFullYear();
var vdate = new Date("March 23, 2017 17:19:00");var vyear = vdate.getFullYear();//the results of vyear will be 2017
Summary CA Process Automation
Summary CA Service Management Community
Service Desk Manager 15 days Implementation
CABI:: Summary - BOXI for CA SDM
Summary CA SDM Scoreboard
Was useful, please leave your feedback!