|
Posted by John W. Krahn on June 10, 2005, 11:07 am
Please log in for more thread options
Peter Billam wrote:
>
>>Hi...Does anyone know if you can convert standard 12 hour time (am/pm)
>>to military time (24 hours) with the Date::Calc module? I wrote a script
>>that would do it but really like to usability of Date::Calc. Could
>>this be rewritten into the module later on?
>
>
> Is it just the plain old civilian 24-hour clock that's intended ?
> Nothing military about that, it's used everywhere in Europe, for
> example.
>
> I've heard that military time differs by forbidding the midnight
> minute 00:00 and 24:00 because this has been known to cause confusion
> about which day it is. So it goes straight from 23:59 to 00:01.
> I'm not sure how that's done, in detail ...
Also military time is designated as Zulu Time and is always UTC, e.g. 23:16 Z
which is the same as 23:16 UTC (or 23:16 GMT.)
John
--
use Perl;
program
fulfillment
|