The syntax of the function asctime () is written as follows:
char * asctime( const stuct tm * Tmptr);
The function *asctime () converts the broken-down time structure pointed to by *Tmptr into a string comprising exactly 26 characters. The following is an example of this:
Wed Jan 14 12:35:57 2015\n\0
The string describes day, month, day-of-month, hour: min: sec, year, new line character, and end of string character. The application of this is illustrated in Program
Illustrates asctime () function.
printf("%s", asctime(localtime( &Date_Time)));