day
Description
Returns a number representing the day of month: 1-31.
Parameters
Return Type
Number
Examples
Example 1
print("Today is " + day(currentDate()));
Example 2
date varDateTime = "2011-08-17T18:30:55";
print("Day is " + day(varDateTime));
Print Day is 17