Pass the date as a string. Tracy
________________________________ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Kukiel Sent: Monday, December 15, 2008 3:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex dates and time zones. I have a date in a server in Australia: 22/12/2008 12:00:00 AM I am using this label function for the grid to try and fix the time zone issue but my date always comes back to me as 21/12/2008 in the datagrid. I really just wan the exact date from the database regardless of where I am in the world. Any ideas? // Label Grid Date public static function labelGridDate(item:Object, column:DataGridColumn):String { var formatter:DateFormatter = new DateFormatter(); var myDate:Date = item[column.dataField]; formatter.formatString = "DD MMM YYYY"; var offsetMilliseconds:Number = item[column.dataField].getTimezoneOffset() * 60 * 1000; item[column.dataField].setTime(item[column.dataField].getTime() + offsetMilliseconds); return formatter.format(item[column.dataField]); } Paul.