struct tm *localtime(const time_t *timer
The value of timer is broken up into the structure
tm and expressed in the local time zone.
A pointer to the structure is returned.
printf("The current time is %s.\n",asctime(localtime(&timer)));