![]() |
VOOZH | about |
The time.h header defines four variable types, two macro and various functions for manipulating date and time. A brief description of the variable types defined in the header time.h is as :
Below is the implementation of digital clock. On executing the program, the output window will show the time when the program was executed.
Output :
Below is the C program to show the current time inside a rectangular bar. The output window shows the day, month, date, current time and year.