develooper Front page | perl.datetime | Postings from January 2003

Time units variants (was Re: Picking up the ball)

Thread Next
January 13, 2003 21:53
Time units variants (was Re: Picking up the ball)
Message ID:
Continuing the discussion with Rich Bowen (Mon, 13 Jan 2003 06:28:14 -0500 (EST))

>On Mon, 13 Jan 2003, Jean Forget wrote:
>> Well, it is not *that* simple. In addition to creating a new
>> calendar, Fabre d'Eglantine and Romme changed the duration of
>> the hour, minute and second, so each day would be split into
>> 10 hours, each hour into 100 minutes and each minute into 100
>> seconds. Which unit should my module deal with?
>> "Anglo-Babylonian" sexagesimal second or decimal second?
>> (See
>It's an interesting point in this case, with this being one of the very
>few calendars that changes how time is handled. However, since the
>purpose of the module in question is conversion between Gregorian and
>French Revolutionary, I would expect that it would do just that. The
>base module would have "Gregorian" or "Anglo-Babylonial" time, and the
>module would convert back and forth. Or it could simply choose to ignore
>that portion of things, as you have done now.
>I expect that there are other calendars/time systems that have alternate
>time handling, and that I just have not encountered them yet. Anyone
>know how the Chinese (ie, ancient) deal with this?
In the Roman Empire, the day from sunrise to sunset was split into
12 hours. Therefore, you would have short hours in winter and long
hours in summer and noon would always be 6 o'clock (or more
appropriately 6 o'sundial?). And the eleventh hour (remember the
11th hour workers?) would be more or less 5PM.

Well, that's Leo Cacciari's turf. I know nothing about Chinese
counting, so I cannot help you for your module.

Jean Forget

WYGIWYGAINGW =  "What You Get Is What You're Given And It's 
No Good Whining."

     Archichancelier Mustrum Ridcully
     (cité par Terry Prachett dans The Science of Discworld)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About