This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/kanji/jasctime.c

14 lines
248 B
C
Raw Permalink Normal View History

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