By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,922 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,922 IT Pros & Developers. It's quick & easy.

Problems with time

P: n/a
I am running on an AIX system with time zone set to BST

If I run the following, I get the GMT time, i.e an hour less than the
correct time.

How can I get the correct time

now = time()

timeProcessed = strftime("%H:%M",gmtime(now))

May 1 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
loial schrieb:
I am running on an AIX system with time zone set to BST

If I run the following, I get the GMT time, i.e an hour less than the
correct time.

How can I get the correct time

now = time()

timeProcessed = strftime("%H:%M",gmtime(now))
localtime?

Diez
May 1 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.