Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Number of days from today
John King
Ranch Hand
Posts: 165
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there a js function that returns the number of days
from today (the current date)? For example, today is May 5, 2004.
If I enter May 5, 2003, it should return me 365.
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thie should help
http://www.mcfedries.com/JavaScript/DaysBetween.asp
Eric
John King
Ranch Hand
Posts: 165
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks, Eric.
How do I enforce a date
pattern
something like
MM/dd/yyyy and convert it to a Date object?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
difference in days
Posting Density Stastics
calculating the number of business minutes in a month
SCJP exam reg procedure
HQL 2 – how to say “within X days from today”?
More...