Jump to content

get number of days


joecool2005

Recommended Posts

You can create a javascript date for February 28, 2007 and another date for the current date. Then you could subtract the current date from the future date to get the number of milliseconds from now to that future date. Then you could divide that number by 86400000 (the number of milliseconds in a day) to get the number of days to the future date.I hope this helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...