[thelist] vbscript: dateadd weekdays

Canfield, Joel JCanfield at PacAdvantage.org
Thu Apr 6 17:27:01 CDT 2006


Why does this

  <%
  response.write(dateadd("w",28,date) & "<br />")
  response.write(dateadd("d",28,date) & "<br />")
  %>

return this

  5/4/2006
  5/4/2006

instead of the first being about eight days later to account for the
weekends not being counted? am I misunderstanding what 'weekdays' are in
vbscript?

thanks

spinhead



More information about the thelist mailing list