Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Re: Re: Date

by Anonymous Monk
on Mar 12, 2001 at 05:31 UTC ( [id://63708]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Date
in thread How to find yesterdays date (was: Date)

You are wrong. During a year there will be a 23 hour day and a 25 hour day. For the hour before the 23 hour day, adding 24 hours to get tomorrow's date won't work, it will get the day after tomorrow's date. For the first hour of the 25 hour day, adding 24 hours will get the same day's date. For the hour after the 23 hour day, subtracting 24 hours will get the date two days ago. For the last hour of the 25 hour day, subtracting 24 hours will get the same day's date.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://63708]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found