staden-lg/src/Misc/date.c

15 lines
262 B
C
Raw Normal View History

2021-12-04 13:07:58 +08:00
#include "misc.h"
#include <stdio.h>
/******************************************************************************/
/*
** Time and date calculations
*/
#include <time.h>
char *date_str()
{
time_t clock;
clock = time(NULL);
return ctime(&clock);
}