Hi,
In VFP9 - its return realy correct value.. maybe when I wrote message i miss the verion number.. currently I using VFP8... not 9.. sorry I mislead you ;-]
Thanks in anyway
Denis
>Hi Borislav,
>>WOW !!!!!!!!!!!!!!!!!!!! This is absolutely cool!
>>TTOC(DATETIME(),3) return 20080425123751 and need parse line.. I looking for simple way.. for timezone.. will look wwAPI.prg from Rick..
>>
>>Denis
>
>
>It returns "2008-04-25T11:39:16" on my computer?
>Check
http://news2news.com/vfp/?example=73&function=106 to see how to get your current UTC offset.
>
>
>
>
>>
>>>>Hi Denis,
>>>>
>>>>This is very simple way without timezone...
>>>>
>>>>
>>>>?CHRTRAN("ABCD-EF-GHTIJ:KL:MN","ABCDEFGHIJKLMN",TTOC(DATETIME(),1))
>>>>
>>>>
>>>>MartinaJ
>>>>
>>>>>Is there a simple way to generate datetime for XML in format (and timezone also)
>>>>>2001-09-06-10T09:00:30+02:00
>>>>>
>>>>>Thanks
>>>>>Denis
>>>
>>>Why not just ? TTOC(DATETIME(),3) (w/o Time zone also :-))