micro-utils/libmu/parse_date.h

19 lines
279 B
C
Raw Normal View History

2024-09-29 16:06:31 +00:00
#ifndef _PARSE_DATE_H
#define _PARSE_DATE_H
static const char *mu_date_fmts[] = {
"%R",
"%T",
"%d-%m",
"%d-%m %H",
"%d-%m %R",
"%d-%m %T",
"%d-%m-%Y",
"%d-%m-%Y %H",
"%d-%m-%Y %R",
"%d-%m-%Y %T"
};
time_t mu_parse_date(const char *prog_name, const char *str);
#endif