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

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

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
1 person found this helpful

Attachments

    Outcomes