MONTH

Contents


month gives the month number for a date.

 

Syntax

   month( exp_date )

 

Parameters

Element

Description

Restrictions

exp_date

Date type expression.

None.

 

Example

   # What month is it?
    MSCOUR =
month(date$)

 

Description and comments

month returns the month number for a date.

The result is an Integer type.

 

Associated errors

Error

Description

ERMODE (10)

Incorrect argument.

ERDATE (56)

Incorrect date.

 

Associated key words

DAY - YEAR - MONTH$ - DAY$ - GDAT$ - DAYN - NDAY - NDAY$ - DATE$ - DATESYST - DATE


CONTENTS


Copyright © Sage 1999 - 2007