Information générale
Catégorie:
Fonctions Windows API
>>-60 on my computer.
>>
>I was passing the 2 rightmost bytes rather than 4. I got that straightened out.
Yes, I've seen your other message, but only after I've sent mine.
>FYI, the dates that you get back aren't what you think they'll be. The year will be 0. The day represents not the day of the month but rather the number of the day of the week within the month (ie if the dow is 0, it's Sunday, and if the day is 1, it's the first Sunday, if the day is 5, it would be the last Sunday.) So some conversion is necessary.
You're right. I think they used that time-date structure only because they had it already defined. The meaning of each field is not exactly what we may think it is. :)
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement