|
|
|
It is currently Wed Jun 19, 2013 7:25 pm
|
View unanswered posts | View active topics | View unsolved topics
|
Page 1 of 1
|
[ 3 posts ] |
|
[System]Client/System/CurrentDateTime and dateformat
| Author |
Message |
|
cgele
Corporal
Joined: Wed Aug 18, 2010 7:29 am Posts: 40 Location: Little Rock, AR
|
 [System]Client/System/CurrentDateTime and dateformat
Has anyone seen this issue before? I have a Gateway in PDT time zone and client/designer in CDT. The top date time value is a label component that is formatted using the dateformat function on the system tag "[System]Client/System/CurrentDateTime". The bottom value is a label component that is tied to an expression which is the tag value "[System]Client/System/CurrentDateTime". I've also tried binding the label directly to the tag. With no formatting, the value displays the correct value in the correct time zone. If the dateformat function is applied, then the value displays the correct format using the Gateway time zone only. I need to reformat this tag in the Client time zone.
Thanks
Attachments:
datediff.png [ 180.84 KiB | Viewed 425 times ]
|
| Tue Jul 03, 2012 12:57 pm |
|
 |
|
James.Lorenz
Moderator
Joined: Mon Jun 04, 2012 8:53 am Posts: 413
|
 Re: [System]Client/System/CurrentDateTime and dateformat
In your designer, go to Project -> Properties and under Client -> General change the timezone behavior to "Client Timezone". See if that fixes your issue.
_________________ James Lorenz QA/Build Engineer Inductive Automation
|
| Tue Jul 03, 2012 3:28 pm |
|
 |
|
cgele
Corporal
Joined: Wed Aug 18, 2010 7:29 am Posts: 40 Location: Little Rock, AR
|
 Re: [System]Client/System/CurrentDateTime and dateformat 
That took care of it.
Thanks, James.
|
| Thu Jul 05, 2012 5:36 am |
|
 |
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|