IT Process Automation

 View Only

CA PAM::.Javascript::. getFullYear() Method 

Mar 23, 2017 04:16 PM

getFullYear()

 

Overview - definition

 

Returns the year (4-digit year)

 

Usage

The getFullYear() method returns the year (four digits for dates between year 1000 and 9999) of the specified date.

 

 

Results

A Number, from 1000 to 9999, representing the year

Examples

 

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

 

 

 

know_more.png

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!

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.