home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff399.lzh
/
CCLib
/
Source
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-11-02
|
251b
|
19 lines
#define ANSIC 1
#include "stdio.h"
#include "time.h"
short _math = 0;
void main(long argc, char *argv[])
{
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);
}