Day()

Top  Previous  Next

Day() - Determine the Day from a Date

Description

The Day() function is used to determine the day from a date variable or formatted string.

Integer = Day(date)

Returns number between 1 and 31 representing the day of the month.

Example

'Determine the day of April 19, 1964

MyDay = Day("April 19, 1964") 'returns 19

 

'Determine the day today

MyDay = Day(now)