>hi,
>
>Thank you for your help, but the code has an error when your time zone is "Jerusalem time zone" you get a zero value. i send an email to Paul Vlad Tatavu but waiting for an answer.
>
>Best Regards
Zero doesn't necessarily mean an error. Here are the defines for the return values:
#define TIME_ZONE_ID_UNKNOWN 0
#define TIME_ZONE_ID_STANDARD 1
#define TIME_ZONE_ID_DAYLIGHT 2
Is anything being returned in the structure?
George
Ubi caritas et amor, deus ibi est