Has anyone come across a way, from V/Lisp to determine the time offset from GMT ?
If so, care to share ?
(SETQ d (RTOS (GETVAR "cdate") 2 6)
rev::datestamp (STRCAT (SUBSTR d 1 4)
"-"
(SUBSTR d 5 2)
"-"
(SUBSTR d 7 2)
"T"
(SUBSTR d 10 2)
":"
(SUBSTR d 12 2)
":"
(SUBSTR d 14 2)
)
)
Returns "2007-09-04T11:50:13"
I want to add the time offset
ie; "2007-09-04T11:50:13+10.00"
I'll hack one through a C# interface if really necessary, but in this case I'd prefer vlisp.
For the curious, I'm writing a timestamp to an XML file field that is required to be sortable when imported into SQL