what im trying to do is store the time & date into a string..
??Code:string timeformat;
time_t x;
tm * time_;
time(&x); // get current time_t value
time_ = localtime(&x);
cout << time_->tm_mday << endl; //here it prints out the right thing..
timeformat = time_->tm_mday;
// here it doesnt do what i want it to do. here timeformat = "";