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.
Any ideas on how to do this?
Thanks in advance,
Aaron
country, some of which have DST, many do not.
What is it that you are trying to accomplish?
-Original Message-
From: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 11:52 AM
To: CF-Talk
Subject: How do I detect day lights savings?
Okay, so there is a fucntion
=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: How do I detect day lights savings?
The calendar
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
but
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:
: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 11:52 AM
To: CF-Talk
Subject: How do I detect day lights savings?
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
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
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
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
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 move on
-
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?
On 5/11/06, Aaron Roberson [EMAIL
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 have to
here is what i came up with.
may have been an adaption of someone elses
something, but its what i use
cfcomponent displayName=isDateInDayLightSavingsTime hint=The hint
is in the question I say!
cffunction name=isDateDST access=public output=1
returntype=any
Tony wrote:
cfset startDate =
04/01/#dateFormat(arguments.dateFeed,'')#
cfset endDate =
11/01/#dateFormat(arguments.dateFeed,'')#
won't work in oz, etc. what happens when congress changes DST again?
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:
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
:) 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. probably have
: Tony [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
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:
it works here in america, where the application i
18 matches
Mail list logo