Re: How do I detect day lights savings?

2006-05-11 Thread Jim McAtee
y" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, May 11, 2006 1:03 PM Subject: Re: How do I detect day lights savings? > :) never is so fun to say tho' > > tw > > On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: >> Tony wrote: >>

Re: How do I detect day lights savings?

2006-05-11 Thread Tony
:) never is so fun to say tho' tw On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > Tony wrote: > > it works here in america, where the application i use it for will > > ALWAYS reside :) > > in the i18n world you just violated a big honking taboo, "never say > never". now you're screwed. pro

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Tony wrote: > it works here in america, where the application i use it for will > ALWAYS reside :) in the i18n world you just violated a big honking taboo, "never say never". now you're screwed. probably have to make it i18n first thing tomorrow ;-) > and yeah, congress... ill change it when it

Re: How do I detect day lights savings?

2006-05-11 Thread Tony
it works here in america, where the application i use it for will ALWAYS reside :) and yeah, congress... ill change it when it comes to that. so no, its not i18n friendly, but i bet you could help me get it there! tw On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > Tony wrote: > > >

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Tony wrote: >"04/01/#dateFormat(arguments.dateFeed,'')#"> >"11/01/#dateFormat(arguments.dateFeed,'')#"> won't work in oz, etc. what happens when congress changes DST again? ~~

Re: How do I detect day lights savings?

2006-05-11 Thread Tony
here is what i came up with. may have been an adaption of someone elses something, but its what i use

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
I just downloaded and am picking it apart - thanks! On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > Aaron Roberson wrote: > > I have a banner that displays on the site every Wednesday at 2:00 > > p.m.. However, I am afraid that when daylight savings time ends in > > October I am going to ha

RE: How do I detect day lights savings?

2006-05-11 Thread Dawson, Michael
e -Original Message- From: Aaron Roberson [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:43 AM To: CF-Talk Subject: Re: How do I detect day lights savings? If I set the locale to English (US) will that change the results structure of the getTimeZoneInfo() to US time zone? O

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Aaron Roberson wrote: > I have a banner that displays on the site every Wednesday at 2:00 > p.m.. However, I am afraid that when daylight savings time ends in > October I am going to have to rewrite my code. > > It's a matter of chaning the value of a single variable, but what > happens when I mov

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
If I set the locale to English (US) will that change the results structure of the getTimeZoneInfo() to US time zone? On 5/11/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > > CF's getTimeZoneInfo() function. > > It looks like getTimeZoneInfo().isDSTOn is what I was looking for but > now another co

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
> CF's getTimeZoneInfo() function. It looks like getTimeZoneInfo().isDSTOn is what I was looking for but now another complexity arises. The getTimeZoneInfo function gets local time zone information for the computer on which it is called, relative to Universal Time Coordinated (UTC). That means th

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
I have a banner that displays on the site every Wednesday at 2:00 p.m.. However, I am afraid that when daylight savings time ends in October I am going to have to rewrite my code. It's a matter of chaning the value of a single variable, but what happens when I move on and another developer oversea

RE: How do I detect day lights savings?

2006-05-11 Thread Everett, Al \(NIH/NIGMS\) [C]
Well look at that: I actually learned something today. Thanks all for the responses to this question that were much, much more helpful than mine. -Original Message- The calendar is universal. Daylight Savings Time isn't. In the U.S., DST begins the first Sunday in April and ends the last

RE: How do I detect day lights savings?

2006-05-11 Thread Dawson, Michael
CF's getTimeZoneInfo() function. M!ke ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240227 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Aaron Roberson wrote: > Okay, so there is a fucntion (isLeapYear) that checks if the current > year is a leap year, which makes me think that there should be some > way of detecting if the current time is daylights savings. isaac dealy & i were working on that functionality for the TimeZone CFC b

RE: How do I detect day lights savings?

2006-05-11 Thread Katz, Dov B \(IT\)
ot;,"java.util.Date"); Dt.init(); Var indst=tz.inDaylightTime(dt); This will ask the timezone if the given date is in Daylight savings Dov -Original Message- From: Everett, Al (NIH/NIGMS) [C] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 11:58 AM To: CF-Talk Subject: RE:

RE: How do I detect day lights savings?

2006-05-11 Thread Everett, Al \(NIH/NIGMS\) [C]
The calendar is universal. Daylight Savings Time isn't. In the U.S., DST begins the first Sunday in April and ends the last Sunday in October (and is changing in 2007 I believe). But not all areas of the U.S. participate in DST. The rules for DST in the UK are different. Then there's every other co