Re: mud time

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


On Tue, 14 Mar 2000, Damian Jurzysta wrote:

>my mud uses these timerules:
>
>#define SECS_PER_MUD_HOUR    60
>#define SECS_PER_MUD_DAY     (24*SECS_PER_MUD_HOUR)
>#define SECS_PER_MUD_MONTH   (30*SECS_PER_MUD_DAY)
>#define SECS_PER_MUD_YEAR    (12*SECS_PER_MUD_MONTH)
>
>so, according to you I should set beginning_of_time to 12*30*24*60*1100 if I
>want the mudyear to start at 1100. this equals 570240000. but when I set
>beginning_of_time to 570240000 I get a mudyear of 1777 upon reboot.

Don't forget the date is relative to "now" (953073925)

So you'd subtract that from 953073925 instead.  That should be about
380million, which sounds more accurate.

--
George Greer
greerga@circlemud.org


     +------------------------------------------------------------+
     | 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