IT Process Automation

 View Only

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

Mar 23, 2017 10:05 AM

getDate()

 

Overview - definition

 

Returns the day of the month (from 1-31)

 

Usage

The getDate() method returns the day of the month (from 1 to 31) for the specified date.

Results

day of the month (from 1 to 31)

Examples

 

var vDate = new Date();
var vDay = vDate.getDate();

 

var vDate = new Date("March 23, 2017 11:03:00");
var vDay = d.getDate();

//The result of vDay will be:

//21

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.