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

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to