Problems with time

L

loial

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))
 
D

Diez B. Roggisch

loial said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,277
Latest member
VytoKetoReview

Latest Threads

Top