The data of WinCC archives is stored with a UTC time stamp.
Attached is an example created WinCC V6.0 SP3 in VB for:
- Calculating the difference between local time and UTC time
- Outputting local time and UTC time
- Converting UTC time into an SQL statement
Brief description of the project
The project contains a picture with three buttons (yellow). The buttons trigger the various VB actions, the results are output in the I/O fields underneath.
More information about handling times in WinCC is available in Entry ID: 26729255.
Screenshot of the project
Sample project download
UTC-Beispielprojekt ( 712 KB )