Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- perl time function
October 17, 2007, 1:33 pm
rate this thread
Re: perl time function
a) Who keeps track of these things so that the module works correct?
Let's say it is N seconds since 1-Jan-1970, 00:00:00 (or whatever the
base date-time), stored in variable t1, to 11:59:20 PM on date D, at
the end of which 2 leap seconds get added. Going by your post, it
looks like localtime($t1+45) would return 00:00:03 on date D+1 after
adjusting for 2 leap seconds. b) Is my deduction correct?
How many times have extra seconds been added or deducted since January
- » FAQ 6.14 How can I print out a word-frequency or line-frequency summary?
- — Previous thread in » PERL Discussions