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

Document created by TMACUL Champion on Mar 23, 2017
Version 1Show Document
  • View in full screen mode

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!

1 person found this helpful

Attachments

    Outcomes