GMT is off

M

Michael Loomington

GMT time is off by like 10 minutes when I call
strftime("%I:%S", gmtime())
How do you correct it? My windows time is set correctly. Also can you make
it report time in the EST time zone?
 
J

Joe Francia

Michael said:
GMT time is off by like 10 minutes when I call
strftime("%I:%S", gmtime())
How do you correct it? My windows time is set correctly. Also can you make
it report time in the EST time zone?

%S == seconds. You probably are looking for %I:%M (or %I:%M:%S).

Peace,
Joe
 

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

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,458
Latest member
Chris#

Latest Threads

Top