Month function

Official Content
This documentation is valid for:

To return the numeric month identifier in a given date.

Syntax

Month(Date-Expression | Datetime-Expression)

Type Returned:
Numeric N(2)

A null value (0) is returned if the received parameter is null.

Example

&Month = Month(CToD('01/01/08')) // Result &Month: 1
&Month = Month(Now()) // Result &Month: 2 If Now() = 25/02/08 10:30 

Scope

Objects   Procedure object, Transaction object, Web Panel object

See also

TimeZone Support - General Considerations
Month method
Year function
Day function




Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.