GetTSfromISOTS
(System Library)
| Description: | Convert an ISO 8601 formatted date and time to a VTScada timestamp |
| Returns: | A VTScada timestamp |
Usage: ![]() |
Script or steady state. |
| Function Groups: | Time and Date |
| Related to: | GetISOTSfromTS |
Format: ![]() |
GetTSfromISOTS(ISO8601Timestamp) |
| Parameters: |
| ISO8601Timestamp |
| (Required.) ISO 8601 Timestamp formatted string e.g: 1985-04-12T23:20:50.52+02:00 |
| Comments: |
VTScada uses UTC-based timestamps stored as seconds since midnight, January 1st, 1970. (ex 482188850) ISO 8601-style timestamps follow the format, YYYY-MM-DDThh:mm:ss (ex. 1985-04-12T23:20:50.52) |
Example:
\System.GetTSfromISOTS("1985-04-12T23:20:50.52+02:00")
