Re: Working Days Remaining in Month, Working Days Remaining in Year
- From: "Jens Schilling" <JensSchillingBitteLoeschen@xxxxxxxxxxxxx>
- Date: Wed, 16 Sep 2009 07:21:42 +0200
Hi,
Patrick A wrote:
All,
Can anyone point me to a good explanation of the proper way to go
about calculating the number of WORKING days between;
A: Date() and the last day of the current month
B: Date() and the last day of the current year
So far the closest I have gotten to B: is (DateDiff("D",Date
(),#12/31/2009#)*0.71429)
But I would love to be able to do this more accurately and without
having to change #12/31/2009# to #12/31/2010# while I am suffering
from a hangover.
If holidays can be taken into consideration, great, but not absolutely
necessary.
You could take a look at the < DirectDateFunctions > available as a textfile
or sample database here :
http://personalwebs.oakland.edu/~fortune/
Regards
Jens
.
- References:
- Working Days Remaining in Month, Working Days Remaining in Year
- From: Patrick A
- Working Days Remaining in Month, Working Days Remaining in Year
- Prev by Date: Re: Working Days Remaining in Month, Working Days Remaining in Year
- Next by Date: Re: Hide a tab on a tab control
- Previous by thread: Re: Working Days Remaining in Month, Working Days Remaining in Year
- Next by thread: Re: Working Days Remaining in Month, Working Days Remaining in Year
- Index(es):
Relevant Pages
|