in reply to Two Otober 27, 2002 using timelocal

That wouldn't be the day that you leave daylight savings time would it?

Try it again. but using midday instead of midnight in your call to timelocal.

  • Comment on Re: Two Otober 27, 2002 using timelocal

Replies are listed 'Best First'.
Re: Answer: Two Otober 27, 2002 using timelocal
by joe budd (Initiate) on Oct 15, 2001 at 21:16 UTC
    1) Yes I guess that it is the day we leave daylignt savings time.
    2) Midday overcomes that issue.
    3) I'm impressed.
    4) Thank you.

      To clarify what the problem is: your code assumes that any given day is 24 hours long - as we enter and leave DST that is not true.

      You may have been missing a day somw time in March as well :)

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you don't talk about Perl club."