There is a _tctime function that formats a number into a string of the following format:
day.month.year hours: minutes: seconds
And what function formats in a format
minutes: seconds.
int tileLeft = 113; TCHAR caption[100] = {}; _tcscpy_s(caption, _tctime(&tileLeft)); caption[_tcslen(caption) - 1U] = TEXT('\0');
/ 60and% 60? - vp_arth