home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
libs
/
cclib.lzh
/
CCLIB
/
SOURCE
/
TEST.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-15
|
251 b
|
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);
}