datevalue(
YEAR
,
MONTH
,
DAY
)

The datevalue( function converts integer values for year, month and day into a number representing a date.


Parameters

This function has three parameters:

year – is a number representing the year. This number must include the century, for example 2004 or 1998.

month – is a number from 1 to 12.

day – is a number from 1 to 31.


Description

The result of this operator is a number representing the date. The number is the number of days since January 1, 4713 B.C.

datevalue(1991,8,7) ☞ 2448476

Error Messages

ILLEGAL DATE – This occors if the month or day is invalid.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0