Skip to main content

C2xGetITSTimeStamp

Open topic with navigation CAPL Functions » Car2x » C2xGetITSTimeStamp Valid for: CANoe DE

Function Syntax

int64 C2xGetITSTimeStamp( void );

Description

This function returns the time in milliseconds since 1.1.1970 00:00:00 UTC to measurement start plus the simulation time:
  • In working mode Simulated bus with animation factor = 1 and in working mode Real bus the returned value is equivalent to the Unix time (time zone UTC).
  • In working mode Simulated bus with animation factor different from 1 the animated simulation time since measurement start is considered.
Note: The Unix time does not consider leap seconds.

Parameters

Example

See example of C2xConvertTimeToMSSinceUTC. See Also