00001 #ifndef GET_DATE_TIME_H 00002 #define GET_DATE_TIME_H 00003 00004 #define DATE_TIME_STRING_LENGTH 26 //This is exactly the length of a date time string 00005 00006 //************************************************************************************ 00007 //* getDateTime: Stores in szCurrentDateTime the current date and time of the system * 00008 //* in the following string format "Wed Jan 02 02:03:55 1980\n\0", that * 00009 //* are exactly 26 characters. * 00010 //************************************************************************************ 00011 00012 void getCurrentDateTime ( char szCurrentDateTime [ DATE_TIME_STRING_LENGTH ] ); 00013 00014 #endif //GET_DATE_TIME_H