well i have a value which is a long long (5245738275906267986), at least what i gather from my internet research
lower limit
−9,223,372,036,854,775,808
upper limit
9,223,372,036,854,775,807
the following produces unexpected output.
long long x = 5245738275906267986;
time_t dt = x;
printf("dt: %s\n", ctime(&dt));
how would i properly convert the value to time_t