Mar 24, 2011, 12:20 PM
[CLOSED] DateField timezone issues
We've just rolled out our Ext.NET app to India and find that when a date field is filled, the actual date posted is adjusted for the time-zone.
e.g. 24th March 2001 ends up as Wed Mar 23 18:30:00 UTC 2011.
I guess the DateField sends dates as UTC which is correct but I'm wondering is there an easy workaround to avoid the scenario I've just described? If a user anywhere in the world enters a DateField, I want that DateField to be consistent, so entering 24th March in the UK results in the same date being displayed in Asia, North America etc.
As you can imagine, this causes serious problems for date of birth fields.
e.g. 24th March 2001 ends up as Wed Mar 23 18:30:00 UTC 2011.
I guess the DateField sends dates as UTC which is correct but I'm wondering is there an easy workaround to avoid the scenario I've just described? If a user anywhere in the world enters a DateField, I want that DateField to be consistent, so entering 24th March in the UK results in the same date being displayed in Asia, North America etc.
As you can imagine, this causes serious problems for date of birth fields.
Last edited by Daniil; Apr 01, 2011 at 12:40 PM.
Reason: [CLOSED]