home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
c_all592.arj
/
TI732.ASC
< prev
next >
Wrap
Text File
|
1992-02-25
|
685b
|
67 lines
PRODUCT : Borland C++ NUMBER : 732
VERSION : 2.0
OS : DOS
DATE : February 25, 1992 PAGE : 1/1
TITLE : How to Print the Current Time
/*************************************************************
This program illustrates how to print the current time.
*************************************************************/
#include <stdio.h>
#include <time.h>
int main(void)
{
time_t t;
time(&t);
printf("Today's date and time: %s\n", ctime(&t));
return 0;
}