Код: Выделить всё
TimeStamp& lastSchedTime; //value coming via function 05/25/24 16:55:00
char dblastSchedTime[TIMESTAMP_LEN+1]; // #define TIMESTAMP_LEN 21
strcpy( dblastSchedTime, (const char*)lastSchedTime );
Подробнее здесь: [url]https://stackoverflow.com/questions/78532539/how-to-convert-timestamp-to-char-array[/url]
Мобильная версия