Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML datetime format
Message
 
À
25/04/2008 04:38:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01313077
Message ID:
01313081
Vues:
8
>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?
But if you get
yyyymmddhhmmss on your you could use:

? TRANSFORM(TTOC(DATETIME(),3),[@R XXXX-XX-XXTXX:XX:XX])

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 :-))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform