#include
norm:: koord myTime = ā1438ā;
time_t nu = tijd (0);
struct tm* now_tm = localtime (&now);
now_tm->tm_hour = atoi (myTime.substr (0, 2) .c_str ());
now_tm->tm_min = atoi (myTime.substr (2, 2) .c_str ());
now_tm->tm_sec = 0;
time_t doel = mktime (now_tm);
klusjes timestamp [32] = "";
strftime (timestamp, 32, ā%b %d %Y %I: %M: %S 000% pā, gmtime (&target));
norm:: cout <>
|