DAY

Contents


day extracts the day (number) from a date.

 

Syntax

 

   day( exp_date )

 

Parameters

 

Element

Description

Restrictions

exp_date

Date type expression.

None.

 

Example

   # What day is it?
    JRCOUR = day(date$)

 

Description and comments

day extracts the day (number) from a valid date.

The result is an Integer type.

 

Associated errors

Error

Description

ERMODE (10)

Incorrect argument.

ERDATE (56)

Incorrect date.

 

Associated key words

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


CONTENTS


Copyright © Sage 1999 - 2007