Open topic with navigation CAPL Functions » General » Function Overview » addTimeToMeasurementStartTimeDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
addTimeToMeasurementStartTime
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Calculates the absolute date/time of the measurement start plus an offset (e.g. a timestamp). Note: In offline mode, the function returns the oldest start time of those stored in the logging files.Parameters
- timeSpan: Time to be added to the measurement start time, e.g. a timestamp of a measured frame.
- time: An array of type long with at least 8 entries. The entries of the array will be filled with the following information:
- 0: Milliseconds (0 - 999)
- 1: Seconds (0 - 59)
- 2: Minutes (0 - 59)
- 3: Hours (0 - 23)
- 4: Day of month (1 - 31)
- 5: Month (0 - 11)
- 6: Year (0 - xxx, offset of 1900, e.g. 117 = 2017)
- 7: Day of week (0 - 6, Sunday is 0)