14 lines
248 B
C
14 lines
248 B
C
#include <stdio.h>
|
|
#include <jtime.h>
|
|
|
|
void main()
|
|
{
|
|
struct tm time_of_day;
|
|
time_t ltime;
|
|
|
|
time( <ime );
|
|
_localtime( <ime, &time_of_day );
|
|
printf( "Date and time is: %s\n",
|
|
jasctime( &time_of_day ) );
|
|
}
|