Home > Electronics Tutorials > C Language Tutorial > time.h - time

C Language Programming Library Reference Guide

time.h - time

Declaration: time_t time(time_t *timer); Calculates the current calendar time and encodes it into time_t format.

The time_t value is returned. If timer is not a null pointer, then the value is also stored into the object it points to. If the time is unavailable, then -1 is returned.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......