[progress Communities] [progress Openedge Abl] Forum Post: Re: 4.0.4 - Select Query With A...

  • Thread starter Thread starter Mohammed Siraj
  • Start date Start date
Status
Not open for further replies.
M

Mohammed Siraj

Guest
Right, on form submit, DateTime field date is processed as per User's configured timezone (Rollbase User object property) and not the browser timezone. In this scenario, you need to first determine User configured timezone. For this, you can read user object token for Timezone i.e.{!#CURR_USER.timeZone} . This will return a String literal. Unfortunately, JavaScript support for timezones is not optimal. You may need to parse this string literal to identify the offset that is GMT + 05:30 (in case user configured timezone is IST). Once you have this offset, you need to make the required correction in DateTime field input value to get to UTC value. Hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top