I saw below code:
std::time_t now;
std::time ( &now );
std::stringstre am stream;
stream << "output_" << asctime(localti me( &now )) << ".txt" <<
std::flush;
How to convert asctime(localti me( &now )) to be timestamp format like
20060930130102 ?
Thanks & Regards.
std::time_t now;
std::time ( &now );
std::stringstre am stream;
stream << "output_" << asctime(localti me( &now )) << ".txt" <<
std::flush;
How to convert asctime(localti me( &now )) to be timestamp format like
20060930130102 ?
Thanks & Regards.
Comment