[CODE] stime

From: Felix (Hotmail) (fjvazquez@hotmail.com)
Date: 07/22/00

Here is a small bit of code to show you the server time (ie to see when
something occured if in a diff timezone than server)

in act.wizard.c:
add:  #include "time.h"

add an ACMD up top and put between 2 other ACMD's

time_t now;
now = time(NULL);

send_to_char(ctime(&now), ch);

add to MCL in interpreter.c (so you can use it).


     | 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