Re: mud time

From: George Greer (greerga@circlemud.org)
Date: 03/14/00


On Wed, 15 Mar 2000, Damian Jurzysta wrote:

>still not totally accurate, 953073925-570240000=382833925 gives me:
>
>It is 2 o'clock am, on the Day of the Moon.
>The 7th Day of the Month of Winter, Year 1100.
>
>shouldnt this be 0 o'clock am, 1th day of the month of winter?

If you used my example numbers, it makes perfect sense.  There was some
time that went on between my message and your test.

Use something like 'date +%s' (on Linux) (or a printf), to get the current
time for you and then adjust it.

--
George Greer            | Mailing list archives
greerga@circlemud.org   | http://post.queensu.ca/~listserv/wwwarch/circle.html


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT