version 1.18, 2011/08/20 06:44:24 |
version 1.19, 2011/08/21 20:55:23 |
|
|
int yearset; |
int yearset; |
char *dot, *p; |
char *dot, *p; |
/* Start with the current time. */ |
/* Start with the current time. */ |
tmptime = tsp[0].tv_sec; |
tmptime = time(NULL); |
if ((lt = localtime(&tmptime)) == NULL) |
if ((lt = localtime(&tmptime)) == NULL) |
err(1, "localtime"); |
err(1, "localtime"); |
/* [[CC]YY]MMDDhhmm[.SS] */ |
/* [[CC]YY]MMDDhhmm[.SS] */ |
|
|
struct tm *lt; |
struct tm *lt; |
time_t tmptime; |
time_t tmptime; |
/* Start with the current time. */ |
/* Start with the current time. */ |
tmptime = tsp[0].tv_sec; |
tmptime = time(NULL); |
if ((lt = localtime(&tmptime)) == NULL) |
if ((lt = localtime(&tmptime)) == NULL) |
err(1, "localtime"); |
err(1, "localtime"); |
|
|