Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I am trying to set up a couple of fields to show information based on the current month

field A) to show number of working days in current month (based on 6 working days a week- in other words excluding Sundays)

field : to show remaining number of working days in current month (again 6 day week excluding Sundays)

(again!) any help appreciated

Posted

Well that was fun! See attached for what appears to be a working version of your requirements. I also included the combined calculations, in case you only want to add two fields instead of six.

WorkingDays.zip

Posted

Now all you need to do is to figure how you can adjust the calculations for a holiday. Although working 6 days a week may mean that there ain't no holidays (except Sundays).

For a hint of what I mean, take a look at this Sample file by Bob Weaver called Workdays and located here:

http://www.fmforums.com/forum/showtopic.php?tid/54679/

Lee

Posted

I would like to add one more calculation to this

If the current time is before 4pm , add 1 day to the total number of working days left (so that it includes today) if not leave the total number of days as is.

I am nearly there, but could someone correct this line for me.

I am going to add one more field called "Timecutoff " which will be a calculated result

If (current time) <16.00 ; combinedRemainingWorkingDays +1 ; combinedRemainingWorkingDays

thanks

Posted

Add

+ (Status(CurrentTime) < Time( 16, 00, 00 ))

to the end of the remaining days calculation.

This topic is 7425 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.