CitectSCADA uses the following formatting/conversion functions:
DateSerial
Constructs a date value.
TimeSerial
Constructs an time value.