clibs
Tiny but handy utility libraries for C
clibs_time.h
Go to the documentation of this file.
1 
6 #ifndef CLIBS_TIME_H
7 #define CLIBS_TIME_H
8 
9 #include <time.h>
10 
20 struct tm date_create(
21  int year, int month, int day);
22 
33 struct tm time_create(
34  int year, int month, int day, int hour, int min, int sec);
35 
36 #endif /* CTIME_UTILS_H */
struct tm time_create(int year, int month, int day, int hour, int min, int sec)
Create a time object.
Definition: clibs_time.c:12
struct tm date_create(int year, int month, int day)
Create a date object.
Definition: clibs_time.c:4