PRODUCT : Borland C++ NUMBER : 732 VERSION : 2.0 OS : DOS DATE : October 19, 1993 PAGE : 1/1 TITLE : How to Print the Current Time /************************************************************* This program illustrates how to print the current time. *************************************************************/ #include #include int main(void) { time_t t; time(&t); printf("Today's date and time: %s\n", ctime(&t)); return 0; } DISCLAIMER: You have the right to use this technical information subject to the terms of the No-Nonsense License Statement that you received with the Borland product to which this information pertains.