TimeInfo
- Last UpdatedJul 18, 2023
- 1 minute read
Returns the time format currently used on the Plant SCADA Server.
Syntax
TimeInfo(nInfo)
nInfo:
Determines the contents of the string returned by the TimeInfo() function. Valid values and resulting strings are:
1- The current time hour format:
• "0" - 12 hour
• "1" - 24 hour
2- The current time delimiter.
3- The current morning time extension.
4- The current evening time extension.
Return Value
Depending on the nInfo argument passed to the function, a string containing:
-
Current time hour format ("0" for 12 hour, "1" for 24 hour)
-
Current time delimiter
-
Current morning time extension
-
Current evening time extension
Related Functions
Example
! If the current system time is 15:43:10.;
ClockType=TimeInfo(1);
! Sets ClockType to "1".