Hi
how to get cross platform time? newdate for a file is ok but current time is something in 2106. So I need the current time (date) as integer.
struct stat st, attrib;
int date = time(0);//or the same with: st.st_mtime;
stat(InFileLocHw.c_str(), &attrib); //2. get the attributes of afile.txt
int newdate = attrib.st_mtime;
Many thanks