in reply to Re: time() off
in thread time() off

ok, understood, about time(), but localtime is still off, its not 1:48 in florida right now its 9:48
my localtime() returns Thu Sep 9 13:48:38 2004, and that's wrong. what will fix that?

Replies are listed 'Best First'.
Re^3: time() off
by ketema (Scribe) on Sep 09, 2004 at 13:54 UTC
    ok, so maybe I'm just not getting it...Does localtime simply return time in a nice format?, and not the actual "Local Time" of your system? if so I get it, I think thats dumb, but I get it...If localtime is actually supposed to return the "Local time" of my stytem then its off. Please clarify.

      Have you bothered to read localtime? I think it explains what it does in quite a bit of detail. What don't you understand?

      localtime returns the "Local Time" of your system, in two different ways, depending on how you ask it. But either way, it is the local time. If localtime's idea of the local time is not what your watch reads, then check either a) your watch, or b) your system clock.

      --
      edan