I fired up Ben's tag last week from his recent blog entry on it. Very
slick, although NIST servers report GMT. You'll need DateAdd() for
your timezone calc. If you are on a shared server that function is
the way to go. If you are on a dedicated box I would use the free
NIST exe and schedule it
I have the same problem (hosting in the US) and I use Paul Hastings'
-Original Message-
From: Seamus Campbell [mailto:[EMAIL PROTECTED]
Sent: Sunday, 11 December 2005 4:16 p.m.
To: CF-Talk
Subject: local date time minus 17 hours
How do I get my local date and time when my ISP's local
(),
application.environment.timeZone)
-Original Message-
From: Matthew Walker
Sent: Monday, 12 December 2005 12:01 p.m.
To: 'cf-talk@houseoffusion.com'
Subject: RE: local date time minus 17 hours
I have the same problem (hosting in the US) and I use Paul Hastings'
-Original Message-
From
Thanks Matthew. I didnt know about that CFC. It does the same job I do,
changing for daylight savings etc, only it does it automatically, and i
think it's quite a bit more elegant than my way of doing it.
I'm going to change over to using this cfc as I work on my sites.
Cheers
Mike Kear
Get an ISP closer to you ;-)
dateadd(h, 17, now())
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Seamus Campbell [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 10, 2005 10:01 PM
To: CF-Talk
Subject: local date time minus 17 hours
Quotes around h... sorry
dateadd('h', 17, now())
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 10, 2005 10:37 PM
To: CF-Talk
Subject: RE: local date time minus 17
6 matches
Mail list logo