Month()

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() )

Compliance

Clipper

Platforms

All

Files

Library is rtl

Seealso

CDOW(), DOW(), YEAR(), CMONTH()

Advertisements

3 responses to “Month()

  1. Pingback: Harbour All Functions – M | Viva Clipper !

  2. Pingback: Harbour Date & Time Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s