Perl: the Markov chain saw | |
PerlMonks |
Re^2: Converting 24 hour time back into 12 hourby Kalaspuff (Beadle) |
on Nov 07, 2004 at 00:39 UTC ( [id://405829]=note: print w/replies, xml ) | Need Help?? |
Or just on one line; $hour = ($hour + 11) % 12 + 1;
In Section
Seekers of Perl Wisdom
|
|