// time.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream.h>
#include <time.h>
int main(int argc, char* argv[])
{
time_t ATime;
time(&ATime);
cout << "Current time ="
<< ctime(&ATime)
<< endl;
cout << "Press Enter to continue";
cin.get();
return 0;
}