just wodnering if it’s possible to compare the difference in days between two dates, I have done this in c# like so, but can it be done in JQuery?
TimeSpan span = DateTime.Now - LastDate;
if (span.Days > 3)
{
}
else
{
}
Anyone have any ideas?
Cheers
Here’s a javascript function to get the days between 2 dates in javascript, no need for jquery here;