Thanks Mike I've tried that but I get a number ( eg 38698.3354861) I'm using CFMX 7
Do you know why I'm getting this? Exact code I'm using: <cfset application.austime= #now()# + #createTimeSpan(0,17,0,0)#> <cfoutput>#application.austime#</cfoutput> Ta Seamus ================ You wrote ================ Seamus I have this issue too, hosting some of my sites in teh Midwest of the >USA, when I'm in Australia. So i have an application variable called >application.austime which I set in the Application.cfc file on all my >sites. Depending on where they are located in the world, >application.austime might be set as #now()# or #now()# + >#createTimeSpan(0,16,0,0)# or whatever time difference is appropriate >depending on the relative status of daylight savings. > >Then instead of using #now()# in any of my apps, I can use >#application.austime# and when I upload the files to the server, the time >values will stlil be correct. > >And Yes, I know I could use Locale, but I developed this method of handling >it before I learned about locale. Anyway, Australian daylight savings >change dates differ from year to year as the politicians get it into their >heads to change things. I'm not at all confident that the folks at Adobe or >Microsoft will keep abreast of our daylight savings debates and many >changes. (for example the NSW government brought forward the change to >summer time by 8 weeks prior to the 2000 Olympics to suit NBC's prime time >schedule). > >Cheers >Mike Kear >Windsor, NSW, Australia >Certified Advanced ColdFusion Developer >AFP Webworks >http://afpwebworks.com >ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > > > > >On 12/11/05, Paul Vernon <[EMAIL PROTECTED]> wrote: >> >> > How do I get my local date and time when my ISP's local time is >> > 17 hours behind me. >> >> DateAdd("h", 17, Now()) >> >> Paul >> > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226747 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

