473,508 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Weird date/time problem

Hello all

I have a simple asp script that pulls data from an ingres database and
displays it on screen.

It all works fine except for date/time fields where the date >=
24/10/2004 and <= 31/10/2004 where it takes 1 hour off the time ie

in the database I have 24/10/2004 08:00

the asp displays 24/10/2004 07:00

The same thing happens for the same date next year.

Any thoughts?

thanks

Richard
Jul 21 '05 #1
3 1187
"Richard Stanton" <ri*************@yahoo.com> wrote in message
news:87**************************@posting.google.c om...
Hello all

I have a simple asp script that pulls data from an ingres database and
displays it on screen.

It all works fine except for date/time fields where the date >=
24/10/2004 and <= 31/10/2004 where it takes 1 hour off the time ie

in the database I have 24/10/2004 08:00

the asp displays 24/10/2004 07:00

The same thing happens for the same date next year.

Any thoughts?

thanks

Richard


Could it be your daylight savings setting?
Jul 21 '05 #2
"Chris Hohmann" <no****@thankyou.com> wrote in message news:<OW**************@TK2MSFTNGP10.phx.gbl>...
"Richard Stanton" <ri*************@yahoo.com> wrote in message
news:87**************************@posting.google.c om...
Hello all

I have a simple asp script that pulls data from an ingres database and
displays it on screen.

It all works fine except for date/time fields where the date >=
24/10/2004 and <= 31/10/2004 where it takes 1 hour off the time ie

in the database I have 24/10/2004 08:00

the asp displays 24/10/2004 07:00

The same thing happens for the same date next year.

Any thoughts?

thanks

Richard


Could it be your daylight savings setting?


Well I wondered that. Checked the server and the time is correct.

Richard
Jul 21 '05 #3
ri*************@yahoo.com (Richard Stanton) wrote in message news:<87**************************@posting.google. com>...
"Chris Hohmann" <no****@thankyou.com> wrote in message news:<OW**************@TK2MSFTNGP10.phx.gbl>...
"Richard Stanton" <ri*************@yahoo.com> wrote in message
news:87**************************@posting.google.c om...
Hello all

I have a simple asp script that pulls data from an ingres database and
displays it on screen.

It all works fine except for date/time fields where the date >=
24/10/2004 and <= 31/10/2004 where it takes 1 hour off the time ie

in the database I have 24/10/2004 08:00

the asp displays 24/10/2004 07:00

The same thing happens for the same date next year.

Any thoughts?

thanks

Richard


Could it be your daylight savings setting?


Well I wondered that. Checked the server and the time is correct.

Richard


Solved it - needed to install a patch, 9182, onto the nt clients from ca's ftp site.
Jul 21 '05 #4

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

Similar topics

13
3777
by: Wolfgang Kaml | last post by:
Hello All, I have been researching newsgroups and knowledgebase all morning and not found a solution that would solve the problem I have. I am having an ASP or ASPX web page that implement a...
5
14569
by: NanQuan | last post by:
I'm hoping someone can help me solve this error since I am at a total loss here. Usually I don't bother posting on any forums or groups on the internet and prefer to solve stuff myself but this is...
2
1636
by: Hendrik Schober | last post by:
Hi, I have some expression template code that I want to get to work. I had a typo in it and just spent two hours to find it, because VC7.1 gave a really weird error message for it. This is the...
4
2060
by: Paul | last post by:
Hi, Everything went fine getting a short date format out of SQL into my DataGrid with this: <%# DataBinder.Eval(Container.DataItem, "Created", "{0:d}")%> Then I got too fancy in SQL and...
5
1551
by: Coleen | last post by:
Hi all :-) I have a bit of code that chacks for the last day of the Month, and if it falls on a week-end, sets the due date to the Monday after... I'm trying to get the date to go to the...
2
1269
by: Bill Nguyen | last post by:
Every time I jumped to a new month, the app kept popping up the message box for subsequent months until 2050! If I stayed within the same month (current month), it worked fine. Please take a look...
12
1911
by: MQ.john | last post by:
//Working Example: #include <stdio.h> #include <time.h> int main () { time_t rawtime; /* define rawtime as time_t */ time ( &rawtime );
11
6155
by: Killer42 | last post by:
Hi all. Short version: DtPicker goes strange when .Enabled changed in VBA code, looking for solution or good workaround. Looooong version: Those of you who have been following various threads...
1
3209
by: cjordan | last post by:
Hi everyone. I'm new here, and I think I've got a pretty unique problem (haven't found any solution to this anywhere else), but I'm hoping that someone here can help me. To be honest, I'm not a...
0
7227
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
7127
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
7391
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...
1
7054
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
5633
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,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.