MONTH()

Converts a date expression to a month value

Syntax

MONTH(<dDate>) --> nMonth

Arguments

<dDate> Any valid date expression

Returns

<nMonth> Corresponding number of the month in the year, ranging from 0 to 12

Description

This function returns a number that represents the month of a given date expression <dDate>. If a NULL date (CTOD('')) is passed to the function, the value of the function will be 0.
Examples
      ? Month(DATE())
Status

Ready

Compliance

This function is Ca-Clipper compliant

Platforms

All

Files

Library is rtl

See Also