libtime++: Date and time calculation
◆
timeutil_print()
char* timeutil_print
(
timeutil_Ttime
td
)
Definition at line
78
of file
timeutil.c
.
References
timeutil_finish()
.
Referenced by
main()
.
80
{
81
static
char
string
[35];
82
timeutil_finish
(&td);
83
sprintf(
string
,
"%3d %2.2d/%2.2d/%4.4d %2.2d:%2.2d:%2.2d.%3.3d%3.3d"
,
84
td.
doy
, td.
day
, td.
month
, td.
year
,
85
td.
hour
, td.
min
, td.
sec
, td.
msec
, td.
usec
);
86
return
string;
87
}
/* timeutil_print */
timeutil_Ttime::doy
long int doy
Definition:
timeutil.h:58
timeutil_Ttime::month
long int month
Definition:
timeutil.h:58
timeutil_Ttime::msec
long int msec
Definition:
timeutil.h:59
timeutil_Ttime::sec
long int sec
Definition:
timeutil.h:59
timeutil_finish
void timeutil_finish(timeutil_Ttime *td)
Definition:
timeutil.c:95
timeutil_Ttime::hour
long int hour
Definition:
timeutil.h:59
timeutil_Ttime::day
long int day
Definition:
timeutil.h:58
timeutil_Ttime::usec
long int usec
Definition:
timeutil.h:59
timeutil_Ttime::min
long int min
Definition:
timeutil.h:59
timeutil_Ttime::year
long int year
Definition:
timeutil.h:58
Here is the call graph for this function:
Here is the caller graph for this function:
timeutil.c
Generated on Mon Aug 21 2023 17:36:11 for libtime++: Date and time calculation by
1.8.14