Question: -Write a C++ program that displays current time in GMT in the format hour:minute:secondsuch as 1:45:19.The time(0)function in the ctimeheader file returns the current time
-Write a C++ program that displays current time in GMT in the format hour:minute:secondsuch as 1:45:19.The time(0)function in the ctimeheader file returns the current time in seconds elapsed since the time 00:00:00 on January 1, 1970 GMT,. This time is known as the Unix epoch because 1970 was the year when the Unix operating system was formally introduced.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
