SPUG: localtime() returning hour in wrong range?

Eric Wilhelm scratchcomputing at gmail.com
Sun Apr 8 11:28:33 PDT 2007


# from Tim Maher
# on Sunday 08 April 2007 10:50 am:

>... hour coded as 0-23.
>
>... E.g., if date says it's 11
>AM, shouldn't $hour be 10, not 11? Am I overlooking something?

Add coffee, check back at 24:01.

--Eric
-- 
But as soon as you hear the Doppler shift dropping in pitch, you know
that they're probably going to miss your house, because if they were on
a collision course with your house, the pitch would stay the same until
impact. As I said, that's one's subtle.
--Larry Wall
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------


More information about the spug-list mailing list