c/chrono/time

Returns the current calendar time encoded as a time_t object, and also stores it in the time_t object pointed to by (unless  is a null pointer)

Return value
Current calendar time encoded as time_t object on success, on error. If is not a null pointer, the return value is also stored in the object pointed to by.