/* * StringToSysTime.h - Header file for StringToSysTime.c Functions used to convert a * date string string to a SYSTEMTIME structure. * compile with Pelles C. * by nabiy . http://nabiy.sdf1.org */ _Bool StringToSysTime( LPSYSTEMTIME lpSystemTime, const LPSTR szDate) ; /* * Convert a date string to a SYSTEMTIME structure. The date string must be * in [[CC]YY]MMDDhhmm[.SS] format. * * [out] pointer to SYSTEMTIME structure to receive the converted system time. * * [in] pointer to a date string in [[CC]YY]MMDDhhmm[.SS] format to be * converted to system time. * */ _Bool IsValidDate(int CCYY, int MM, int DD) ; /* * Checks if a date is valid. returns true if valid false otherwise. * * [in] Year, Month, and Day values as integers. * */ _Bool IsValidTime(int hh, int mm, int SS) ; /* * Checks if a time is valid. returns true if valid false otherwise. * * [in] Hour, Minute, and Second values as integers. * */