international Date
Sivakatirswami
katir at hindu.org
Tue Dec 19 06:13:17 EST 2006
Am I the only one who continues to be perplexed as to why the
international date format is not a standard engine function?
Hypenated: YYYY-MM-DD, zero padded comes standard with SQL
but in Rev we have to do little dances like:
FUNCTION internationalDate tDate
convert tDate to dateitems
IF len(item 2 of tDate<2) THEN put "0" before item 2 of tDate
IF len(item 3 of tDate<2) THEN put "0" before item 2 of tDate
return (item 1 of tDate &"-" & item 2 of tDate &"-" & item 3 of
tDate)
END internationalDate
?? am I missing something?
Worthy of a feature request?
Sivakatirswami
www.himalayanacademy.com
More information about the use-livecode
mailing list