Clk_GetTZ

Clk_GetTZ

 

Get Clock time zone offset.

Files

clk.h/clk.c

Prototype

CLK_TZ_SEC Clk_GetTZ (void);

 

Arguments

None.

Returned Values

Time zone offset (in seconds, ± from UTC).

Required Configuration

None.

Notes / Warnings

None.

Example Usage

Listing - Clk_GetTZ() Example Usage
CLK_TZ_SEC tz_sec; CLK_TS_SEC ts_local; tz_sec = Clk_GetTZ(); ts_local = 15000 + tz_sec; printf("local timestamp = %u", ts_local);