It is currently Fri Jul 25, 2014 10:16 am




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
 [System]Client/System/CurrentDateTime and dateformat 
Author Message
Sergeant
Sergeant

Joined: Wed Aug 18, 2010 7:29 am
Posts: 47
Location: Little Rock, AR
Post [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
datediff.png [ 180.84 KiB | Viewed 534 times ]
Tue Jul 03, 2012 12:57 pm
Profile
Moderator
Moderator

Joined: Mon Jun 04, 2012 8:53 am
Posts: 440
Post 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 Systems Engineer
Inductive Automation


Tue Jul 03, 2012 3:28 pm
Profile
Sergeant
Sergeant

Joined: Wed Aug 18, 2010 7:29 am
Posts: 47
Location: Little Rock, AR
Post Re: [System]Client/System/CurrentDateTime and dateformat  Topic is solved
That took care of it.

Thanks, James.


Thu Jul 05, 2012 5:36 am
Profile
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 


Who is online

Users browsing this forum: Google [Bot] and 4 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

Search for:
Jump to: