Day Function
Syntax
Day(dateexpr)
Group
Description
Return the day of the month (1 to 31).
Parameters
Parameters | 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( )
Sub Main Debug.Print Day(#1/1/1900#) ' 1 Debug.Print Day(#1/2/1900#) ' 2 End Sub