Please see: http://www.showorders.com/test3.asp


The code generating the page is as follows:

testdate = "1/29/2003 1:00:00 PM"

while count <> 5
testdate = dateadd("n",15,testdate)
response.write testdate & "<br>"
count = count + 1
wend


What is going on there? The times should be incrementing by 15 minute
intervals, not 14min and 59 seconds. I have several pages that have
suddenly stopped functioning because of this strange date calculating.
My web host insists there is nothing wrong with the ASP service. Any
help or insight is greatly appreciated. Thanks...

Re: Dateadd function not adding up... by Ray

Ray
Thu Oct 30 23:00:58 CST 2003

That exact code produces the results you expect on my machine, XP Pro, WSH
5.6. Are you running an older version of WSH? I can't think of anything in
regional settings that would cause Windows to think that a minute is 59
seconds long.

Ray at home

"Gabe" <onlyforjunkmail@yahoo.com> wrote in message
news:8ac0ae2f.0310301402.43b91e38@posting.google.com...
> Please see: http://www.showorders.com/test3.asp
>
>
> The code generating the page is as follows:
>
> testdate = "1/29/2003 1:00:00 PM"
>
> while count <> 5
> testdate = dateadd("n",15,testdate)
> response.write testdate & "<br>"
> count = count + 1
> wend
>
>
> What is going on there? The times should be incrementing by 15 minute
> intervals, not 14min and 59 seconds. I have several pages that have
> suddenly stopped functioning because of this strange date calculating.
> My web host insists there is nothing wrong with the ASP service. Any
> help or insight is greatly appreciated. Thanks...



Re: Dateadd function not adding up... by onlyforjunkmail

onlyforjunkmail
Fri Oct 31 07:57:55 CST 2003

The page is running on a Linux RedHat 7.3 operating system w/ Apache
1.3.27 web server and ChiliSoft Server 3.6.2. The pages in question
were working for almost 2 years then suddenly quit working when the
functionality of the dateadd function apparently changed. I've copied
and pasted my test page to another web host and it works fine there,
so it seems to just be my current web hosting provider, but they say
there is absolutely nothing wrong even after seeing the dateadd
function is adding 14:59 instead of 15:00.

-Gabe


"Ray at <%=sLocation%>" <myfirstname at lane 34 . komm> wrote in message news:<uo7Z$t2nDHA.1408@TK2MSFTNGP11.phx.gbl>...
> That exact code produces the results you expect on my machine, XP Pro, WSH
> 5.6. Are you running an older version of WSH? I can't think of anything in
> regional settings that would cause Windows to think that a minute is 59
> seconds long.
>
> Ray at home
>
> "Gabe" <onlyforjunkmail@yahoo.com> wrote in message
> news:8ac0ae2f.0310301402.43b91e38@posting.google.com...
> > Please see: http://www.showorders.com/test3.asp
> >
> >
> > The code generating the page is as follows:
> >
> > testdate = "1/29/2003 1:00:00 PM"
> >
> > while count <> 5
> > testdate = dateadd("n",15,testdate)
> > response.write testdate & "<br>"
> > count = count + 1
> > wend
> >
> >
> > What is going on there? The times should be incrementing by 15 minute
> > intervals, not 14min and 59 seconds. I have several pages that have
> > suddenly stopped functioning because of this strange date calculating.
> > My web host insists there is nothing wrong with the ASP service. Any
> > help or insight is greatly appreciated. Thanks...

Re: Dateadd function not adding up... by Ray

Ray
Fri Oct 31 08:46:25 CST 2003


"Gabe" <onlyforjunkmail@yahoo.com> wrote in message
news:8ac0ae2f.0310310557.393d4fc1@posting.google.com...
> The page is running on a Linux RedHat 7.3 operating system w/ Apache
> 1.3.27 web server and ChiliSoft Server 3.6.2.

Nice how you failed to mention that most critical part. If there's a
chilisoft forum anywhere, I suggest posting there to see if other people
have the same problem.

Ray at home