MicrOS
time.c File Reference
#include "../time.h"

Functions

time_t time (time_t *timer)
 Get current time. More...
 

Variables

tm converted_time
 Internal variable used during time conversions. More...
 

Function Documentation

◆ time()

time_t time ( time_t timer)

Get current time.

Get the current calendar time as a value of type time_t.

Parameters
timerPointer to an object of type time_t, where the time value is stored.
Returns
The current calendar time as a time_t object.

Variable Documentation

◆ converted_time

tm converted_time

Internal variable used during time conversions.