#include
using std::cout;
#include
using std::time_t;
using std::time;
using std::localtime;
using std::asctime;
int main()
{
time_t currentTime;
time( ¤tTime );
cout << asctime( localtime( ¤tTime ) );
return 0;
}
Sun Apr 29 10:56:45 2007