Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Business Days Formula 1

Status
Not open for further replies.

DaveDup

MIS
Mar 12, 2003
3
US
I am looking for a formula to calculate business days between two dates. Can anyone please help?
 
Try Something like this:

DateTimeVar d1 := {LA966.VEH_USE_BGIN_DT};
DateTimeVar d2 := {LA966.VEH_USE_END_DT};

datediff("d",d1,d2)
-datediff("ww",d1,d2,crSaturday)
-datediff("ww",d1,d2,crSunday) DataDog
'Failure Is Not An Option'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top