The date
data type represents a date and time in the Gregorian calendar system. A date
is obtained from the date
and time
functions or the convert
command.
HyperTalk considers just about any string to be a date
, although very few such strings can actually be converted to date
s. XION is much stricter and only considers a string a date
if it can be converted to one. The formats XION accepts are:
"Sunday, February 15, 2009"
(the
English
date
), "Sun, Feb 15, 2009"
, "2/15/09"
, "9:44:26 PM"
(the
English
time
), "9:44 PM"
, the
long
date
), the
abbreviated
date
), the
short
date
), the
long
time
or the
abbreviated
time
), the
short
time
).