Search DaTutorials:  
HOME
VB Script Tutorials
Introduction
Reference
Tutorials

Month Function

Returns a whole number between 1 and 12, inclusive, representing the month of the year.

Month(date)

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

Remarks

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

Version 1


     Credit Counseling | Video Codes | Remortgage | Mortgage Calculator | MBNA credit card
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp