date.c
melville/cmds/player/date.c · 195 B
From the archive melville_0.9.tar.gz
Download the archive « Back to the archive contents
/* return the current date and time via the ctime() kfun.
Mobydick, 5-28-94 */
int do_command (string str) {
write ("The current time and date is "+ctime(time())+"\n") ;
return 1 ;
}