How would I see how much time passed between two (possibly identical) events? Like:
The sun rises.
(an unknown amount of time passes. other stuff happens. etc)
The sun sets behind the hills.
At this point I want to send the length of the day to the MUD. (in days, hours, minutes, seconds, if possible) The timers that I found seem to be for set intervals or times. I want to do the opposite and find the time that passed.
Thanks,
The sun rises.
(an unknown amount of time passes. other stuff happens. etc)
The sun sets behind the hills.
At this point I want to send the length of the day to the MUD. (in days, hours, minutes, seconds, if possible) The timers that I found seem to be for set intervals or times. I want to do the opposite and find the time that passed.
Thanks,