convert time_t to string and vice versa

hi,

how can i convert time_t to string format. my time_t result is unix timestamp. i have to convert to string format. i tried (string)timestamp but it couldnt work

here is how i get my current time:
this->timestamp = time(0);

so i have to convert to string:
string t1 = (string)this->timestamp;

but its not working. what should i do??

tks in adv
Last edited on
hi guys,

i managed to resolve it. tks
Topic archived. No new replies allowed.