05# Using the time Function in c | Advance C Programming Tutorials | C Programming Tutorial

preview_player
Показать описание
#Description
The C library function time_t time(time_t *seconds) returns the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds. If seconds is not NULL, the return value is also stored in variable seconds.

Declaration
Following is the declaration for time() function.
time_t time(time_t *t)

Parameters
seconds − This is the pointer to an object of type time_t, where the seconds value will be stored.

Return Value
The current calendar time as a time_t object.
Рекомендации по теме
welcome to shbcf.ru