I am not sure this will work as I haven't been in a position like this one.
It is noted that you will have a problem with the client. So let me suggest this then. When doing in sort of date work in your business logic, do a condition check to see if it is day light savings and subtract an hour from the dates. This would open up more conditions for localisation, only because I don't know what your demographic market is. I would assume Australia for now. So I guess by leaving daylight savings on, and do the check for that condition being true. You could then have more consistency across how the time is being used, with either adjusting the time by an hour or maybe look at getting time offsets or a flag in the database row (not one I would do, but some may prefer it). Then depending on the demographic area, this could be changed or enhanced to accommodate them. I hope that helps, I could have gone into more detail. But I thought I would wet your appetite, and give you some more food for thought on the matter. I did look at something like this awhile ago on RIAForge, and lost time to continue with that project. The one thing I have noticed around the web at the moment, is how dates are treated. With websites it makes it hard when, you know virtually nothing about them, sure we could try geolocate them, but I am not convinced that they are 100% accurate at the moment. With intranet, reports and a string of other scenarios. When needing to collect data, one of the things that isn't to difficult to introduce is proper localisation. Using the time zone we can then adjust the time when we need to. Having said that, this may not even be of use to you. From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Davey Sent: Friday, 6 June 2008 8:37 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Coldfusion & Daylight saving Hi Andrew, Thanks for the info, I tried turning off the daylight savings but as the client pc will still have it on , I don't see how that fixes the problem, in fact it will make the problem worse for any date selected in the DST period instead of just the 7 days currently effected. All the code is using the LSDateFormat function. Thanks. Stephen Davey From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Thursday, 5 June 2008 12:51 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Coldfusion & Daylight saving When using the cfset Locale, you also need to use the LSDateFormat. Failure to do this, will see some date ranges convert right back to US date time. Both the above problem, and NOT using daylight savings on a production server is heaviliy documented around the net. On Thu, Jun 5, 2008 at 7:34 AM, Stephen Davey <[EMAIL PROTECTED]> wrote: Hi Chris, I didn't have locale set in CF anywhere but the OS was set correctly. I tried setting the locale as below but it did not make any difference. <cfset setlocale("English (Australian)")> Thanks. Stephen Davey -----Original Message----- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Thursday, 5 June 2008 12:52 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Coldfusion & Daylight saving On Wed, Jun 4, 2008 at 11:40 PM, Stephen Davey <[EMAIL PROTECTED]> wrote: > Windows has all the updates from MS. And it has the correct time zone and is > set for DST. Is the locale set correctly? Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.flashdev.org.au <http://www.flashdev.org.au/> Adobe Platform Users Group, Sydney June meeting: Profiling with Flex Builder 3 Date: Mon 23th June 6pm for 6:30 start Details and RSVP on http://apugs2008june.eventbrite.com <http://apugs2008june.eventbrite.com/> No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 269.24.6/1481 - Release Date: 3/06/2008 7:31 PM Phone: +613 8676 4223 Mobile: 0404 998 273 No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.0.0/1484 - Release Date: 4/06/2008 4:40 PM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---