getLocalTime
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Returns details to the current date and time in an array of type long. Note for use in distributed mode- This function always returns the local time of the user computer.
Parameters
An array of type long with at least 9 entries. The entries of the array will be filled with the following information:- 0: Seconds (0 - 59)
- 1: Minutes (0 - 59)
- 2: Hours (0 - 23)
- 3: Day of month (1 - 31)
- 4: Month (0 - 11)
- 5: Year (0 - xxx, offset of 1900, e.g. 117 = 2017)
- 6: Day of week (0 - 6, Sunday is 0)
- 7: Day of Year (0 - 365)
- 8: Flag for daylight saving time (0 - 1, 1 = daylight saving time)