Day Function

Syntax

Day(dateexpr)

Group

Time/Date

Description

Return the day of the month (1 to 31).

Parameter Description
dateexpr Return the day of the month for this date value. If this value is Null then Null is returned.

See Also: Date( ), Month( ), Weekday( ), Year( ).

Example

Sub Main
Debug
.Print Day(#1/1/1900#) ' 1
Debug
.Print Day(#1/2/1900#) ' 2
End
Sub