Mailing List Archive

Follow up on TimeZone
Looks like TZ setting to PST8PDT actually works.

Actually, this question also involved someone on the gnupgnewsjapan
group trying to get their time on JST (Japan Standard Time)
This particular person reported problem, and part of problem could be
due to the following time setting: JST-09.

I have already suggested JST+09 (which should be logical, because
Japanese time is 9 hours ahead of GMT) and I'm looking forward to see
if it works.

>
>I am still not sure which time: FileTime or SystemTime is based on UTC
>and how to do the conversion right.
>

If you are talking about Win32 API, there is function that returns UTC
called GetSystemTime which retrieves system time.

VOID GetSystemTime(
LPSYSTEMTIME lpSystemTime // address of system time structure
);

Thank you.

--
Hideki Saito mailto:hideki@allcity.net
PGP Fingerprint(0x82957B66): DE6B 1301 CC7F B915 521B 3736 4716 2919 8295 7B66

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Follow up on TimeZone [ In reply to ]
>Looks like TZ setting to PST8PDT actually works.
>
>Actually, this question also involved someone on the gnupgnewsjapan
>group trying to get their time on JST (Japan Standard Time)
>This particular person reported problem, and part of problem could be
>due to the following time setting: JST-09.
>
>I have already suggested JST+09 (which should be logical, because
>Japanese time is 9 hours ahead of GMT) and I'm looking forward to see
>if it works.
>

I don't think this worked.
Looks like it automatically assumes that the local time is GMT...

--
Hideki Saito mailto:hideki@allcity.net
PGP Fingerprint(0x82957B66): DE6B 1301 CC7F B915 521B 3736 4716 2919 8295 7B66

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org