I’m trying to format a 10-digit Unix time stamp (currently a string) using ctime.
However, ctime() expects a parameter of type time_t, not a string.
What must I do before I can use ctime?
In other words, can I easily convert the string into a time_t?
You’re saying you have something like 1346426869 as a string and want it to be a time_t?