Cicode Programming Reference > Cicode Function Categories > Time and Date Functions Introduction > TimeInfo

TimeInfo

Returns the time format currently used on the CitectSCADA 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:

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:

Related Functions

DateInfo

Example

! If the current system time is 15:43:10.;
ClockType=TimeInfo(1);
! Sets ClockType to "1".

See Also

Time/Date Functions