Set Clock time zone offset.
Files
clk.h/clk.c
Prototype
Arguments
tz_sec
Time zone offset (in seconds, ± from UTC).
Returned Values
DEF_OK
, if time zone is valid and set.
DEF_FAIL
, otherwise.
Required Configuration
None.
Notes / Warnings
Time zone is based on Coordinated Universal Time (UTC) and has valid values:
- Between ±12 hours (±43200 seconds)
- Multiples of 15 minutes