fredpeters555
Technical User
AAAAACKK" says Bill the cat!
I need to get the balance of work days left in the current month but I can't even get the number of weekdays beween two hard coded dates. It just wants to return weeks.
<%
var1 = "5/10/2004"
var2 = "5/12/2004"
Response.Write("var1 to var2 is " & DateDiff("w", var1, var2) & " workdays ")
%>
should return 2 yet returns 0 and will continue to return weeks if I adjust the variable.
TIA
Fred
I need to get the balance of work days left in the current month but I can't even get the number of weekdays beween two hard coded dates. It just wants to return weeks.
<%
var1 = "5/10/2004"
var2 = "5/12/2004"
Response.Write("var1 to var2 is " & DateDiff("w", var1, var2) & " workdays ")
%>
should return 2 yet returns 0 and will continue to return weeks if I adjust the variable.
TIA
Fred