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.

Count number of days between two dates

Featured Replies

Greetings

I am working on a task system. I want to calculate how long it takes to attend to a task, to move to the next step etc until the task is completed or if tracking issue resolution then the time it takes to resolve the issue.

How can I find the number of days:hours:min between the two vital dates i.e. the date created and the date completed.

Your help will be greatly appreciated!

If(IsEmpty ( Date1 ) or IsEmpty (Date2);""; Date1 - Date2 )

This is one calculation that I use. The result is a number and returns the number of days between the dates. This is the easy one.

There are other methods that need used if you want to know the number of "buisness Days". (excluding weekends, holidays, ...)"buisness days" is often more usefull from a managment viewpoint. If you need that let me know. (it has been a number of years since I've had to use this method)

This thread was posted in an incorrect category. It has been moved to this category by a forum moderator.

From: FMP Developers & User Groups - In House Developers

To: Database Schema - Calculation Engine

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.