dtcy()

Function group Execute on client Platform(s)
Date and Time YES All

Syntax

dtcy(datestring)

Description

Returns the year and century of a datestring as a string.

Example

Calculate lDate as dtcy(#D)
; returns '2003', assume #D is May 8, 2003


Calculate lDate as dtcy('05 08 03')
; returns '2003', assume #D is May 8, 2003