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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Change the time zone

vsrilekha
1-Visitor

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