Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Finding how many days are left between two dates

Featured Replies

Ok, I've searched the forum, and haven't found a solid answer for this question. I have two dates, beginning and ending, and can simply find out how many days are left between the two in the same month. But, how can I go about scripting it to find out the same if say the startDate is 12/31/2009, and the end date is 1/6/2010? where the months change, and the years? Thanks in advance for the help.

End Date - Start Date will give you a number equal to the number of days between the two dates.

However, it sounded like you wanted an interim number based on the current date?

Lee

Edited by Guest

  • Author

Thanks Lee for your reply. It made me aware that I was completely OVER-THINKING this problem.......so simple.....thanks again.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.