Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Date Diff


Message #1 by Tom Achtenberg <toma@f...> on Fri, 25 Oct 2002 10:13:32 -0700
Not possible without a server technology.

-----Original Message-----
From: Tom Achtenberg [mailto:toma@f...] 
Sent: October 25, 2002 11:47 AM
To: HTML Code Clinic
Subject: [html_code_clinic] RE: Date Diff

I have one line available to edit that is actually part of a marquee.

-----Original Message-----
From: Patrick Mair [mailto:pmair@e...]
Sent: Friday, October 25, 2002 10:25 AM
To: HTML Code Clinic
Subject: [html_code_clinic] RE: Date Diff


I assume then that you can't use anything like ASP or JSP... what about
Javascript?

You could just insert a block of javascript and reference your form fields
like:

window.document.formname.fieldname.value;

I don't think javascript has a builtin datediff function, but you can
definitely find them on the web.

Patrick

-----Original Message-----
From: Tom Achtenberg [mailto:toma@f...] 
Sent: October 25, 2002 11:14 AM
To: HTML Code Clinic
Subject: [html_code_clinic] Date Diff

I am looking for a way to display the difference between 2 dates in number
of days.  This is on an html page and I can only edit one line of the page
so I need to use straight html.   Is this possible?

Tom Achtenberg
SQL Programmer, Information Technologies
Food for the Hungry / US
(xxx) xxx-xxxx  (voice)
(xxx) xxx-xxxx  (fax)
TomA@f...



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

  Return to Index