/ * Function Description: Get the current system time format YYYYMMMMDDHMMMMMMMMMDHHMMMSS, accurate to second parameter description: Char * CURTIME transmission address, used to return the time string of the specified format, int flag: 1- Time to make YYYYMMDDDHMMSS Format 2 Based on YYYY-MM-DD HH: MM: SS Format 3 - By the time to YYYYMMDD format Return parameters: None (format YYYYMMDDHMMSS or YYYY-MM-DD HH: mm: SS string) * / void get_curtime (int flag, char * timeformat) {char outstr [128]; char STR [100]; TIME_T T; STRUCT TM * GMT, * area;