Day(Date) : Day « Date Functions « VBA / Excel / Access / Word






Day(Date)

 
Sub Main1()
   Debug.Print "Today's date is: " & Date
   Debug.Print "The day of the month is: " & Day(Date)
End Sub

 








Related examples in the same category

1.Day(date) returns a Variant/Integer between 1 and 31, inclusive, representing the day of the month for date