1999-10-10 13:30:48 -04:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
2001-01-01 11:45:32 -05:00
|
|
|
s48_value scheme_time();
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-01-01 11:45:32 -05:00
|
|
|
s48_value time_plus_ticks();
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-28 19:48:36 -04:00
|
|
|
extern s48_value time2date(time_t t, s48_value zone,
|
1999-09-14 09:32:05 -04:00
|
|
|
int *sec, int *min, int *hour,
|
|
|
|
int *mday, int *month, int *year,
|
|
|
|
const char **tz_name, int *tz_secs,
|
|
|
|
int *summer,
|
|
|
|
int *wday, int *yday);
|
|
|
|
|
2001-01-01 11:45:32 -05:00
|
|
|
s48_value date2time(s48_value sec, s48_value min, s48_value hour,
|
|
|
|
s48_value mday, s48_value month, s48_value year,
|
|
|
|
s48_value tz_name, s48_value tz_secs,
|
|
|
|
s48_value summer);
|
|
|
|
|
1999-09-14 09:32:05 -04:00
|
|
|
|
1999-09-15 20:20:37 -04:00
|
|
|
extern s48_value format_date(const char *fmt, int sec, int min, int hour,
|
1999-09-14 09:32:05 -04:00
|
|
|
int mday, int month, int year,
|
1999-09-15 20:20:37 -04:00
|
|
|
s48_value tz, int summer,
|
1999-09-14 09:32:05 -04:00
|
|
|
int week_day, int year_day,
|
|
|
|
const char **ans);
|