home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
newlibs
/
cclib.lzh
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-09-25
|
256b
|
20 lines
#include "stdio.h"
#include "time.h"
short _math = 0;
short main(argc,argv)
short argc;
char *argv[];
{
short i;
time_t t;
struct tm *tm;
char buf[80];
t = time(0L);
tm = localtime(&t);
strftime(buf,79,"%A %B, %d %Y %I:%M %p",tm);
printf("%s\n",buf);
}