473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Date/Time problem remote hosting

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
Jul 19 '05 #1
5 1501
Since both Texas and Florida observe the same daylight savings time, you can
just always add an hour using DATEADD.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"jt" <jt****@hotmail.com> wrote in message
news:GZ*****************@twister.tampabay.rr.com.. .
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

Jul 19 '05 #2
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 19 '05 #3
> 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...
Jul 19 '05 #4
Aaron [SQL Server MVP] wrote on 25 aug 2004 in
microsoft.public.inetserver.asp.general:
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.


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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 19 '05 #5
jt
Thanks for all your help.

jt

"jt" <jt****@hotmail.com> wrote in message
news:GZ*****************@twister.tampabay.rr.com.. .
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

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Marc | last post by:
I've got a PHP script that's using fopen to connect to a remote web server and pick up data. I've run into a problem in calculating elapsed time. The remote web server outputs a time and I'd...
12
by: filesiteguy | last post by:
Some partners of mine and I are writing a host-based application, which would greatly benefit if we could take advantage of a web services-like function we are formulating. Unfortunately, this...
4
by: Rene' Nielsen | last post by:
Context: Running Windows 2003 Server on an intranet. A web is configured with an anonymous access account that is a domain account that has been granted the desired access to a file on another...
5
by: Gord | last post by:
Many scripts and calendars call client side system time in order to make presentations. However, the client's time may be improperly set, if set at all, and/or the relevant time may be from...
18
by: Robin Lawrie | last post by:
Hi again, another problem! I've moved from an Access database to SQL server and am now having trouble inserting dates and times into seperate fields. I'm using ASP and the code below to get the...
16
by: WindAndWaves | last post by:
Hi there I have $initstartdate = date("d-m-Y"); in my code How can I get it to be date() + 1 or 7 for that matter. Because my server is in the US and I am in New Zealand, they are always...
9
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
2
by: Dabbler | last post by:
Is there a way I can manage a remote website (virtual shared hosting service) with WAT? When I run it from the VWD Express it opens my local sites but I'n not sure how to invoke it against a remote...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.