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;