cpp/chrono/c/time

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

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