dateGet

Function: dateGet()

Return an element of the date (e.g. the month).

Syntax

dateGet(date, dateField)

ArgumentTypeDescription
dateDateThe original date/time
dateFieldDate FieldThe part of the date to be be returned (e.g. the month or seconds)

Examples

dateGet("20100403.162359",_MONTH)

Returns the month number 4.

See Also