Can any 1 explain about the time() function in c++

need help in learning

31st Mar 2017, 3:07 AM
Ajmal Aboobacker
Ajmal   Aboobacker - avatar
2 Answers
+ 4
The function returns the current time or date on the system.
31st Mar 2017, 3:37 AM
Wen Qin
Wen Qin - avatar
"Get the current calendar time as a value of type time_t . The function returns this value, and if the argument is not a null pointer, it also sets this value to the object" http://www.cplusplus.com/reference/ctime
31st Mar 2017, 3:53 AM
Eranga - avatar