Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BDay() subtraction bug when the starting date is not on offset #2680
Comments
changhiskhan
added a commit
that referenced
this issue
Jan 20, 2013
|
|
changhiskhan |
0325f49
|
changhiskhan
closed this
Jan 20, 2013
dorandeluz
referenced
this issue
Jan 9, 2014
Closed
dt+BDay(n) gives the wrong date if n>5, n%5==0 and dt not on offset #5890
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rhaskett commentedJan 10, 2013
Note the output skips the weekday 12/23/2011.
1 12/30/2011
2 12/29/2011
3 12/28/2011
4 12/27/2011
5 12/26/2011
6 12/22/2011
7 12/21/2011
8 12/20/2011
9 12/19/2011
however when the start date is onoffset it works fine
1 12/29/2011
2 12/28/2011
3 12/27/2011
4 12/26/2011
5 12/23/2011
6 12/22/2011
7 12/21/2011
8 12/20/2011
9 12/19/2011