Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: RE: Getting the date of today as a number (was: Date question)

by Simplicus (Monk)
on Apr 20, 2000 at 06:47 UTC ( [id://8104]=note: print w/replies, xml ) Need Help??


in reply to RE: Getting the date of today as a number (was: Date question)
in thread Getting the date of today as a number (was: Date question)

Sorry, but the above writeup has a couple flaws, and thanks to chromatic for setting me straight.
First, the $isdst scalar is a flag for daylight savings time, 1 for yes, 0 for no, and negative is "unknown."
Second, the year hasn't really had 1900 subtracted from it, it's really just the number of years since 1900.
Thanks again to my Dodecatonic friend, chromatic. (I was a music composition major, once upon a time.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-28 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found