S
Stephen Lynch
Anyone have code that will figure out a twice a month date. I really do not
want to code to deal with month ends.
I am building an amortization schedule and some need to pay twice a month.
Right now I am using Dateadd for all scenarios except this. I can easily
add 14 days to the start date , but if it is the end of the month then I
need to account for it.
If paydateday is 7, then frequency is 7 and 22.
If paydateday is 8, then frequency is 8 and 23. etc.
But
If paydateday is 15, then frequency is 15 and date of end of month.
Any ideas?
TIA
Steve
want to code to deal with month ends.
I am building an amortization schedule and some need to pay twice a month.
Right now I am using Dateadd for all scenarios except this. I can easily
add 14 days to the start date , but if it is the end of the month then I
need to account for it.
If paydateday is 7, then frequency is 7 and 22.
If paydateday is 8, then frequency is 8 and 23. etc.
But
If paydateday is 15, then frequency is 15 and date of end of month.
Any ideas?
TIA
Steve