|
-
Aug 26th, 2011, 04:54 PM
#1
Thread Starter
PowerPoster
Javascript's equilvalent of DateDiff Function?
I have a scenario on a web page that compares 2 date fields. When dates are entered their cannot be a difference of more than 365 days. I know VB.Net has the DateDiff() function. I'm pretty new to using Javascript. I've done some searching and couldn't find a DateDiff() function for JS. Was wondering if their is anything like the DateDiff() or does anyone have a homegrown function that will return the difference in dates written in Javascript?
Thanks,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|