Date/Time problem remote hosting

J

jt

Having a problem on trying to solve how to have the date and time displayed
correctly and entered into my ms access database.

I subscribe my web page being hosted remotely in Texas(CDT). I am logging in
here in Florida. Since there is a time difference and the date/time is
showing Texas(CDT) time rather than Florida time.

How can I make my asp code to recongzine Florida date/time? I guess I could
put in the offset but would have to change back and forth from EST to EDT
and would like if possilble to have it recongnized either EST or EDT when I
log in, I would guess.

Appreciate any pointers to this.

Thanks,
jt
 
A

Aaron [SQL Server MVP]

Since both Texas and Florida observe the same daylight savings time, you can
just always add an hour using DATEADD.
 
E

Evertjan.

Aaron [SQL Server MVP] wrote on 25 aug 2004 in
microsoft.public.inetserver.asp.general:
Since both Texas and Florida observe the same daylight savings time,
you can just always add an hour using DATEADD.

I heard that, unlike in Europe, the New World dst switch time is on it's
own local 02:00, so that this DATEADD will have the wrong time for 2 hours
a year.
 
A

Aaron [SQL Server MVP]

I heard that, unlike in Europe, the New World dst switch time is on it's
own local 02:00, so that this DATEADD will have the wrong time for 2 hours
a year.

They're one hour apart, so they will only be off for one hour of real time.

Anyway, you can deal with this using a calendar table, if it's really that
important. Since we know in advance when DST changeovers will take place...

See http://www.aspfaq.com/2218 for the basic idea...
 
E

Evertjan.

Aaron [SQL Server MVP] wrote on 25 aug 2004 in
microsoft.public.inetserver.asp.general:
They're one hour apart, so they will only be off for one hour of real
time.

1 hour twice a year is 2 hours a year, not?

;-)

Even so I like the European way,
changing over all three timezones at the same moment,
while understanding that it is unpractical for the many American zones.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top