Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another date time format
Message
De
26/08/2004 18:49:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
26/08/2004 18:40:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00936800
Message ID:
00936803
Vues:
24
>I have this date time format:
>
>2004-08-25T18:36:52Z
>
>Is there a way to convert that into a datetime VFP format without having to load a dozen of libraries? :)

Two methods come to mind:

1) Use datetime() with six parameters, extracted from specific positions.

2) Convert the "T" to a space (?), eliminate the "Z", and use TTOC().

I can't test it right now.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform