Converting a time_t to string
- by wyatt
I have a time_t variable containing a timestamp which I'd like to store in a database, so I need it as a string. How would I convert it.
Also, on the subject, how would I convert a timestamp string into a time_t varible?
Thanks,
Wyatt