date() Function

Function

date( year, month, day )

Converts text into data accepted by the date data type and functions that require date parameters.

Parameters

Keyword Type Description

year

Integer

The year of the date you would like to convert into a serial number.

month

Integer

It month of the date in number format without leading zeros for a month with one digit.

day

Integer

The day component of the date.

Returns

Date

Examples

You can experiment with this function in the test box below.

Test Input

date(2009,7,5) returns 7/5/2009

Open in Github Built: Fri, Oct 15, 2021 (09:55:45 AM)

On This Page

FEEDBACK