If the time (0) operator is seconds ... then what is minutes and hours or even days maybe? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

If the time (0) operator is seconds ... then what is minutes and hours or even days maybe?

is days even possible?

5th Jun 2018, 2:55 PM
Fizzleburn
1 Antwort
+ 17
Yes, how many seconds are in a minute, hour etc.. Anyway see http://www.cplusplus.com/reference/ctime/time/ Particularly: Although libraries may use a different representation of time: Portable programs should not use the value returned by this function directly, but always rely on calls to other elements of the standard library to translate them to portable types (such as localtime, gmtime or difftime).
5th Jun 2018, 3:10 PM
jay
jay - avatar