3 out of 5 rated this helpful - Rate this topic

Day Function

Returns a whole number between 1 and 31, inclusive, representing the day of the month.

Day(date)

The date argument is any expression that can represent a date. If date contains Null, Null is returned.

The following example uses the Day function to obtain the day of the month from a specified date:

Dim MyDay
MyDay = Day("October 19, 1962")   ' MyDay contains 19.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ