Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Clk_GetDateTime()

Anchor10492671049267Get current Clock timestamp as a date/time structure. Anchor10492681049268

Files

...

clk.h/clk.c

...

Prototype

...

classCode_Listing

...

rowspan5

...

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

Anchor10492871049287None. Anchor10662591066259

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).anchor10493071049307

Example Usage

...

classCode_Listing

...

rowspan8

...