08-13-2014 05:27 AM
Hello,
I have simple problem but I cant find decent solution
I have time start lets say 2014.05.07 and time end 2014.07.22
I want 2d array output:
2014.05.07, 2014.05.31
2014.06.01, 2014.6.30
2014.07.01, 2014.7.22
Thanks for any advices
08-13-2014 05:40 AM - edited 08-13-2014 05:41 AM
Hi pawhan,
what's thedefinition of the 1st column? Start of month?
What's the definition of the 2nd column? End of month?
Pseudocode:
date := start_date while date < end_date BuildArray(date, MIN(EndOfMonth(date); end_date) ) date := EndOfMonth(date) + 1 wend
See how far you get. Post what you have programmed so far…
08-13-2014 07:03 AM - edited 08-13-2014 07:30 AM
This seems to be working now
Thanks for help