Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to ignore Time Zone Conversion

    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

    #2
    This is not what occurs - in the absence of additional code on your part, a datetime value entered by the user is faithfully transferred to the server. If you disagree, please show a standalone test case demonstrating that SmartClient changes the value.

    Comment

    Working...
    X