I am using remoteobject.
The following code returns the same timezone information as my workstation is in. ________________________________ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Hastings Sent: Sunday, June 27, 2010 10:59 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Working with date/Time in FB > <mx:DataGrid x=" 68 " y=" 446 " id=" dataGrid " dataProvider=" { > getAlltblreservationResult.lastResult } " visible=" false " > uh, are you using a web service instead of remote object? how did you confirm your cf server's in the same tz as your w/s? it's possible that the OS & JVM that cf's running under are using different tz. what dos the following snippet tell you? <cfscript> jre=createObject("java","java.lang.System"); JREname=jre.getProperty("java.runtime.name"); JREversion=jre.getProperty("java.runtime.version"); tz=createObject("java","java.util.TimeZone").getDefault(); tzName=tz.getDisplayName(true,tz.LONG); dstSavings=tz.getDSTSavings()/3600000; writeoutput("jre:=#JREname# #JREversion#<br>tz:=#tzName#<br>dst savings:=#dstSavings#<br>in DST:=#tz.inDaylightTime(now())# "); </cfscript> -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean.