Applies To:
  • CitectSCADA 3.4, 4.2, 5.0

The TrnExportCSV, TrnExpotDBF and TrnExportClip functions will not store AM/PM in the time field if 12 hour clock is selected.  

CIT has confirmed this to be a problem in Citect for Windows versions 3.4/4.2 and 5.0. This problem is fixed in Version 5.01 and 4.20 Service Pack G Citect.

The problem is due to the fact that the format for the time field is not sufficiently wide to accommodate AM/PM for the 12 hour clock. All TrnExportXXX functions are Cicode functions in file in the INCLUDE project. Advanced users may widen the TIME format from 8 to 12, so that there will be room for AM/PM. However, the users should realize that their changes in the INCLUDE project will be lost with the installation of a new version.

When 24 hour clock is used the time will be stored correctly as AM/PM is not needed.