Returns a number from 1 to 31, for the day of the month on which a date occurs.
Day ( date )
date - any calendar date
Data type returned
Originated in version
6.0 or earlier
Use the Day function, for example, to identify the day of the month on which payments are due.
Day ( "5/15/2019" ) returns 15. This example assumes that the system date format is MM/DD/YYYY.
Day ( DateSold ) returns the day of the month stored in DateSold.
Displays the text Beware the Ides of March only when the day of the month returned by
Get ( CurrentDate ) is 15 and the month returned by
Get ( CurrentDate ) is 3; otherwise it displays nothing.
Day ( Get ( CurrentDate ) ) = 15 and Month ( Get ( CurrentDate ) ) = 3;
"Beware the Ides of March" ;