Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another date time format
Message
 
À
26/08/2004 19:14:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00936800
Message ID:
00936829
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? :)
>>
>>The Z is for Zulu time, I have a program, to convert from it, let me try to find it.
>
>"Zulu" is a name for UTC / GMT, right?

For the love of God, I wrote too many tests with involving time, I can not found the one I did for "Zulu"...

Yes, Hilmar, Zulu is the "Military" format of the GMT
Zulu Time Format - a date and time string in the format YYYYMMDDhhmmssZ where:

    YYYY is a 4 digit year
    MM - is a 2 digit month
    DD - is a 2 digit day of the month
    hh - is a 2 digit hour in 24 hour format
    mm - is 2 digit minute
    ss - is a 2 digit second
    Z - is the literal letter Z and means that the time in the GMT/Zulu time zone

Zulu Date Format - a date string in the format YYYYMMDDZ where:

    YYYY is a 4 digit year
    MM - is a 2 digit month
    DD - is a 2 digit day of the month
    Z - is the literal letter Z and means that the date is the GMT/Zulu time zone
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform