JavaScript date comparisons
Posted
by Kyle
on Stack Overflow
See other posts from Stack Overflow
or by Kyle
Published on 2010-05-13T18:58:29Z
Indexed on
2010/05/13
19:04 UTC
Read the original article
Hit count: 168
I am new to the lower level useful functions of JavaScript, and I find myself needing to compare two date objects, but within an hourly range. For example, if Date1 is less then two hours until (or from) Date2. How could this be done?
© Stack Overflow or respective owner