*}
codea teams

Localtime



Returns a struct tm with the current time

struct tm has the following members:

tm_sec      seconds after the minute
tm_min      minutes after the hour
tm_hour     hours since midnight
tm_mday     day of the month
tm_mon      months since January
tm_year     years since 1900
tm_wday     days since Sunday
tm_yday     days since January 1
tm_isdst    Daylight Saving Time flag

struct tm curTm;
time_t now;
time( &now );
curTm = *localtime( &now );