in reply to Server time vs computer logging in

http://search.cpan.org/~drolsky/DateTime-1.42/lib/DateTime.pm#$dt-%3Ehour_1() "$dt->hour_1()Returns the hour of the day, from 1..24."

you should just be using the raw time value rather than jumping through hoops anyway, see your prior thread

Replies are listed 'Best First'.
Re^2: Server time vs computer logging in
by htmanning (Friar) on Jan 06, 2017 at 01:13 UTC
    Thanks. Yep, I'm definitely jumping through hoops. Just a hack.

    I ended up converting the 24 to 00 and it works now.

    When you say use the raw time value, how do you do that?