I'm trying to produce an array of working days but want to force
Saturday and Sunday to return the date of the previous Friday, e.g.
Sunday 9/12/04 should return Friday 9/10/04 and similarly Saturday
9/11/04 should return Friday 9/10/04.
I've tried getdate()-1 and getdate()-2 respectively but am getting
stack overflow errors. Am I doing anything wrong, or is this just not
possible?
Saturday and Sunday to return the date of the previous Friday, e.g.
Sunday 9/12/04 should return Friday 9/10/04 and similarly Saturday
9/11/04 should return Friday 9/10/04.
I've tried getdate()-1 and getdate()-2 respectively but am getting
stack overflow errors. Am I doing anything wrong, or is this just not
possible?
Comment