Synopsis
#define TPL_TIME_FORMAT_DISPLAY_SHORT
#define TPL_TIME_FORMAT_DISPLAY_LONG
time_t tpl_time_get_current (void);
time_t tpl_time_get_local_time (struct tm *tm);
time_t tpl_time_parse (const gchar *str);
gchar * tpl_time_to_string_utc (time_t t,
const gchar *format);
gchar * tpl_time_to_string_local (time_t t,
const gchar *format);
gchar * tpl_time_to_string_relative (time_t t);
Details
TPL_TIME_FORMAT_DISPLAY_SHORT
#define TPL_TIME_FORMAT_DISPLAY_SHORT "%H:%M"
TPL_TIME_FORMAT_DISPLAY_LONG
#define TPL_TIME_FORMAT_DISPLAY_LONG "%a %d %b %Y"
tpl_time_get_current ()
time_t tpl_time_get_current (void);
tpl_time_get_local_time ()
time_t tpl_time_get_local_time (struct tm *tm);
tpl_time_parse ()
time_t tpl_time_parse (const gchar *str);
tpl_time_to_string_utc ()
gchar * tpl_time_to_string_utc (time_t t,
const gchar *format);
tpl_time_to_string_local ()
gchar * tpl_time_to_string_local (time_t t,
const gchar *format);
tpl_time_to_string_relative ()
gchar * tpl_time_to_string_relative (time_t t);