...

View Full Version : count how many days



esthera
07-16-2007, 03:25 PM
can someone help me write a function that takes in 2 dates and counts how many days between the dates but only counting days between monday and friday?

mehere
07-16-2007, 07:13 PM
http://brian.donoho.com/no_excuses/2006/02/vbscript-calculate-working-business.html

esthera
07-17-2007, 10:38 AM
thanks - how would i do in sql? like to get the last 3 business days records

mehere
07-18-2007, 04:31 AM
have a look here (http://classicasp.aspfaq.com/date-time-routines-manipulation/how-do-i-count-the-number-of-business-days-between-two-dates.html)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum