Month

Definition:

Month(date)

 

Description:

Return the month of the year as an integer from a supplied date string.

 

Platforms:

All

 

Parameters:

date - required

String containing the date or date and time.

Supported formats for this parameter are the same as those supported by VBScript DateTime objects.

 

Returns:

int

The month value from the supplied date string, between 1 and 12.

 

Notes:

If you want to use the current date and time, you can use the Now Method to obtain this in a suitable format for use within this Method.