This way the system time is used to remain the same, without following the new
struct timespec tspec; tspec.tv_sec = 1592382898; tspec.tv_nsec = 1592382898 * 1000 * 1000 * 1000; clock_settime(CLOCK_REALTIME, &tspec);
This way the system time is used to remain the same, without following the new
struct timespec tspec; tspec.tv_sec = 1592382898; tspec.tv_nsec = 1592382898 * 1000 * 1000 * 1000; clock_settime(CLOCK_REALTIME, &tspec);
Hi Peter,
You can use the Date Time library to maintain the date-time information in UTC format.
Br,
Martin L.