Open topic with navigation CAPL Functions » General » Function Overview » getLocalTimeStringDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
getLocalTimeString
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Copies a printed representation of the current date and time into the supplied character buffer. The format of the string is ddd mmm dd hh:mm:ss jjjj (e.g. “Fri Aug 21 15:22:24 1998”). Note for use in distributed mode- This function always returns the local time of the user computer.
Parameters
- timeBuffer: The buffer the string will be written in.
This buffer must be at least 26 characters long.