29 #ifndef KSM_DATETIME_H
30 #define KSM_DATETIME_H
46 int DtNow(
struct tm* datetime);
47 int DtNumeric(
const char*
string,
struct tm* datetime);
49 int DtGeneral(
const char*
string,
struct tm* datetime);
55 int DtDateDiff(
const char* date1,
const char* date2,
int* diff);
int DtGeneral(const char *string, struct tm *datetime)
char * DtParseDateTimeString(const char *string)
char * DtGeneralString(const char *string)
int DtAppendTime(char *fulldt, const char *timepart)
int DtIntervalSeconds(const char *text, int *interval)
int DtParseDateTime(const char *string, struct tm *datetime)
int DtNumeric(const char *string, struct tm *datetime)
void DtSecondsInterval(int interval, char *text, size_t textlen)
int DtNow(struct tm *datetime)
int DtXMLIntervalSeconds(const char *text, int *interval)
int DtDateDiff(const char *date1, const char *date2, int *result)