Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Answer: How do i find yesterday's date

by dse (Novice)
on Jun 09, 2004 at 16:03 UTC ( [id://362786]=note: print w/replies, xml ) Need Help??


in reply to Re: How do i find yesterday's date
in thread How do i find yesterday's date

I'd like to point out that this solution will also not work when the timezone is 12 or more hours on either side of GMT (I believe there are some that are off by 13 hours). It's probably best to stick with Date::Calc.
$ date; TZ=GMT0 date Wed Jun 9 12:01:15 EDT 2004 Wed Jun 9 16:01:15 GMT 2004 $ TZ=GMT-12 perl foo.pl 06/09/2004 $ TZ=GMT+12 perl foo.pl 06/08/2004 $ TZ=GMT-13 perl foo.pl 06/09/2004 $ TZ=GMT+13 perl foo.pl 06/07/2004

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found