Jump to content

This topic is 7919 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi - I need to show users how many days a job has been opened in our system, based simply on the "Date Opened" field. Can FM subtract the number of weekends, or do I have to have another file for it to refer to?

THANKS!

Posted

Hi,

Use this calculation in your field, and have = Number result.

Int((Your Current Date - Date Opened) / 7) * 5 + Mod(Your Current Date - Date Opened, 7) - Case(DayofWeek(Your Current Date) < DayofWeek(Date Opened), 2, 0)

Note: change the "Your Current Date" field to the name of your field to be use as the current date. Also, you can make your field a calculation with a date result by using Status(CurrentDate).

HTH

Lee

cool.gif

This topic is 7919 days old. Please don't post here. Open a new topic instead.

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...

Important Information

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