Hi,
How to ignore the timezone conversion of SC.
Test Case :
- I am using datetime filed.
- Server is running in PST time zone.
- Browser time zone e.g. IST.
- Date entered in the IST timezone is automatically converted into the PST whenever request sent to server.
My requirement is, know the same date whetever user entered (irrespective of user browser time zone) and also persist the same date in DB and same date must be display in the List Grid, form etc (without converted into user browser time zone)
I have used Time.setDefaultDisplayTimezone("-08:00") but it is not working.
Please suggest.
SmartClient Version: 8.1/Enterprise Development Only (built 2011-08-02)
Weblogic Server TimeZone : PDT
Browser : Firefox 3.6.22
How to ignore the timezone conversion of SC.
Test Case :
- I am using datetime filed.
- Server is running in PST time zone.
- Browser time zone e.g. IST.
- Date entered in the IST timezone is automatically converted into the PST whenever request sent to server.
My requirement is, know the same date whetever user entered (irrespective of user browser time zone) and also persist the same date in DB and same date must be display in the List Grid, form etc (without converted into user browser time zone)
I have used Time.setDefaultDisplayTimezone("-08:00") but it is not working.
Please suggest.
SmartClient Version: 8.1/Enterprise Development Only (built 2011-08-02)
Weblogic Server TimeZone : PDT
Browser : Firefox 3.6.22
Comment