Subject | Encoding a date from Year, Month, Day, Hour, ... |
---|---|
Author | Jerome Bouvattier |
Post date | 2004-03-06T19:48:08Z |
Hello,
Is there a way to get a DATE out of integers ?
Something like EncodeDate(2003, 11, 19) ...
Currently I'm casting a string, but it's not that pretty :
Result = CAST(vYear || '-' || vMonth || '-' || vDay AS DATE);
Thanks in advance.
--
Jerome
Is there a way to get a DATE out of integers ?
Something like EncodeDate(2003, 11, 19) ...
Currently I'm casting a string, but it's not that pretty :
Result = CAST(vYear || '-' || vMonth || '-' || vDay AS DATE);
Thanks in advance.
--
Jerome