Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Get current Clock timestamp as a date/time structure.

Files

clk.h/clk.c

Prototype

Arguments

p_date_time

Pointer to variable that will receive the date/time structure.

Returned Values

DEF_OK, if date/time structure is valid.

DEF_FAIL, otherwise.

Required Configuration

None.

Notes / Warnings

Clock time zone offset is used to calculate the local date/time (p_date_time) returned. Thus local date/time is returned as UTC+TZ, where Clock time zone offset (TZ) is returned as local time zone offset (p_date_time->TZ_sec).

Example Usage

  • No labels