raccam1976
New member
- Joined
- Nov 20, 2008
- Messages
- 1
- Programming Experience
- 1-3
If dr.Item("approvaloutemail") = "1/1/1800" Then
approvaldate = drMaster.Item("lmapprovaldate")
ctc = drMaster.Item("dateallcondcleared")
If (DateDiff(DateInterval.DayOfYear, Today, approvaldate) >= -5 And _
DateDiff(DateInterval.DayOfYear, Today, approvaldate) <= -3) Then
If ctc = "1/1/1800" Then
"sendFormattedEmail"
--- The Question
I only need to count business days (monday thru friday), doesn't matter about holidays.
Can someone please point me in the right direction?
thank you
approvaldate = drMaster.Item("lmapprovaldate")
ctc = drMaster.Item("dateallcondcleared")
If (DateDiff(DateInterval.DayOfYear, Today, approvaldate) >= -5 And _
DateDiff(DateInterval.DayOfYear, Today, approvaldate) <= -3) Then
If ctc = "1/1/1800" Then
"sendFormattedEmail"
--- The Question
I only need to count business days (monday thru friday), doesn't matter about holidays.
Can someone please point me in the right direction?
thank you