home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
libraries
/
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);
}