5.6.0.0R1
Software Development Kit
ltrx_time Struct Reference

Represents "broken-down" time. More...

Data Fields

int16_t t_dayofmonth
 
int16_t t_hour
 
int16_t t_minute
 
int16_t t_month
 
int16_t t_second
 
int16_t t_year
 

Detailed Description

Represents "broken-down" time.

ltrx_time_to_utc(), ltrx_time_to_local(), and ltrx_time_from_utc() work similar to the POSIX libc functions gmtime(), localtime() and mktime(). The values in struct ltrx_time can be overloaded and conversion calculations will be correct.

Field Documentation

◆ t_dayofmonth

int16_t ltrx_time::t_dayofmonth

1 to 31.

◆ t_hour

int16_t ltrx_time::t_hour

0 to 23.

◆ t_minute

int16_t ltrx_time::t_minute

0 to 59.

◆ t_month

int16_t ltrx_time::t_month

January is 1, February is 2, and so on.

◆ t_second

int16_t ltrx_time::t_second

0 to 59.

◆ t_year

int16_t ltrx_time::t_year

Full year, for example, 2014


The documentation for this struct was generated from the following file: