Kolusu, the key data is that I have the previous month start and end date (for today, it would be May 1 and 31), with some range of dates before that. I also need at least the end of the current month (June 30, today). For running it tomorrow, I need at least June 1 - 30 (with some dates in May) and July 1 to 31. Having more dates than this is fine, and is no problem to go back even another month and ahead even another month.

Billy

Sri h Kolusu wrote:



I need this for about 3 months worth of dates. . The dates should start either on the 15th of the month, 2 months ago, or 45 days ago (whichever is easier)



Billy,

It is easy to generate the dates in the required format, however  a few clarifications needed. •       Can the dates start from current date and go back to 3 months of dates? •       Do you want the ability of passing ANY VALID date and number of entries needed? •       3 months dates can result in 88 - 93 entries depending on the current date. For example today's  Current-date is 2022-06-30 and subtracting 3 months from it results in 2022-03-30. So we can have the start date from March 30th and get to Current date which will be 93 days of data. Is that OK? If we always use 93 as number of entries to generate then it might exceed the current date.  I can handle it dynamically have the repeat value. Is that needed ? or is it ok to have 93 entries of data?


Thanks,
Kolusu
DFSORT Development
IBM Corporation



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to