This function is to get specified file's last wirtten time.
BOOL okutil_get_file_last_write_time_as_julian( LPCSTR lpcszFile, double * lpdLastWriteTime )
TRUE if success, otherwise FALSE.
EX1
void okutil_get_file_last_write_time_as_julian_Ex1() { string strFile = GetAppPath(TRUE) + "Filter.ini"; if(strFile.IsFile()) { double dLastWriteTime; if( okutil_get_file_last_write_time_as_julian(strFile, &dLastWriteTime) ) out_str( get_date_str(dLastWriteTime) ); } else out_str("File not existed."); }
get_date_str, get_file_last_write_time_as_julian
origin.h