[1][edited by: Readie at 5:25 pm (utc) on Mar 3, 2010]
StoutFiles
4:58 pm on Mar 3, 2010 (gmt 0)
Changed jS to d. Works great though, thank you.
rocknbil
7:34 pm on Mar 3, 2010 (gmt 0)
mySQL already has this, no need to add coding where you don't need it. :-) Even if the value is not extracted from a DB (unlikely it isn't, considering your example) you can still execute mySQL on any value.
If that's conversion for display, do consider using the Big-Endian format for that too.
It's easier to read long columns of Big-Endian formatted dates, and an alpha sort (with numeric month) sorts them into date order.
See also RFC 3339.
StoutFiles
8:32 pm on Mar 3, 2010 (gmt 0)
mySQL already has this, no need to add coding where you don't need it. :-) Even if the value is not extracted from a DB (unlikely it isn't, considering your example) you can still execute mySQL on any value.
Using Oracle 7 for VMS. I normally don't consider query functions since they're so limited.