Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns a whole number between 1 and 12, inclusive, representing the month of the year.
Syntax
Month(date)
Remarks
The date argument is any expression that can represent a date. If date contains Null, Null is returned.
The following example uses the Month function to return the current month:
Dim MyVar
MyVar = Month(Now) ' MyVar contains the number corresponding to
' the current month.
Requirements
See Also
Date Function
Day Function
Now Function
Weekday Function
Year Function