timeconv.h
Go to the documentation of this file.
#ifndef __PST_TIMECONV_H
#define __PST_TIMECONV_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif
char* pst_fileTimeToAscii (const FILETIME* filetime, char* result);
void pst_fileTimeToStructTM (const FILETIME* filetime, struct tm *result);
time_t pst_fileTimeToUnixTime( const FILETIME* filetime);
size_t pst_fileTimeToString( const FILETIME* filetime, const char* date_format, char* result);
#ifdef __cplusplus
}
#endif
#endif
pst_fileTimeToString
size_t pst_fileTimeToString(const FILETIME *filetime, const char *date_format, char *result)
Convert a FILETIME to string in date_format format.
FILETIME
Definition: common.h:27
pst_fileTimeToAscii
char * pst_fileTimeToAscii(const FILETIME *filetime, char *result)
Convert a FILETIME to ascii printable local time.
pst_fileTimeToStructTM
void pst_fileTimeToStructTM(const FILETIME *filetime, struct tm *result)
Convert a FILETIME to unix struct tm.
pst_fileTimeToUnixTime
time_t pst_fileTimeToUnixTime(const FILETIME *filetime)
Convert a FILETIME to unix time_t value.
common.h