in reply to Re: Morning or Night?
in thread Morning or Night?
I take that back, they did not give you a fix. try this:
$ampm = ( $central_time_hour > 11 and $central_time_hour < 24 ) ? 'PM' + : 'AM';
I think that works properly, though it is is just a hack to cover flawed logic.
Fixing the flawed logic is left as an exercise for the reader.
Will perl for money
JJ Knitis
(901) 756-7693
gt8073a@industrialmusic.com
|
|---|