Client is ignoring the UTC and assuming everything is UTC=0

Issue

Client is ignoring the UTC and assuming everything is UTC=0

Product Line

SmartStruxure Solution

Environment

AS and ES and in all release versions

Cause

DateTime function in script program is incorrect. Client is not displaying the correct time it really needs to look at the UTC offset when displaying a timestamp. From ALM (SmartStruxure's software quality center database) it looks like it’s a client issue. Script is passing a timestamp with correct UTC offset to the client and the client is ignoring the UTC and assuming everything is UTC=0.

Steps to reproduce problem:
1. Create a script program

2. Paste in this example:
DateTime output DateTest
Numeric output Heure
DateTest=Date
Heure=Hour

3.Save the program, and view results  

Resolution

This is functioning as designed and all server times are in UTC.

There are two alternatives:
On the Workstation PC, set the PC's time to UTC
Write code in the Script program to adjust the time values to UTC.