Thursday, March 29, 2012

Re: DatePicker UTC

To be more clear, I have a date which is 2012-03-29 at 01:00:00 UTC, if I do setDate(date) on the datepicker and if the user is based in the US, the date selected on the calendar will be the 2012-03-28, because it uses their local time. I want the calendar to show 2012-03-29 wherever the user is.

On Wednesday, 28 March 2012 22:07:39 UTC+2, Thomas Lefort wrote:
I need the datepicker to render the date in UTC and not the local
format. Is there any simple way to do so?

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment