cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Change the time zone

vsrilekha
1-Newbie

Change the time zone

Hi all,

                    I have a requirement where I need to change the time zone of the datetime from EDT to CDT. How to achieve that?

3 REPLIES 3

But change the TimeZone where? On Server, on Client Browser,... ?

var dateValue = new Date();


// dateFormat(dateValue:DATETIME,dateFormat:STRING):STRING

var formattedDate = dateFormat(dateValue,'yyyy-MM-dd hh:mm zzz');


var result = formattedDate;

It's automatically coming in EDT

While I want it in CDT

With TW TimeZone limitations we had faced

Client Side ( Browser ) on TW it's ALWAYS in User's Browser Selected TimeZone

Server Side ( TW Server Runtime ) on TW it's ALWAYS in Server System TimeZone.

No more options Out-Of-The-Box.

As we needed real TimeZone support we had to Customize ALL DateTime Widgets to support TimeZone as a binding target ( Grid, DateTimePicker, TimeSeries, ValueDisplay,... ). And Also to support on server side we had to build a Java extension leveraging JODA time library which it's already in place.

Hope it helps

Carles.

Announcements


Top Tags