Hi ,
You Can create your own Custom Java Action to do this
Ref: https://stackoverflow.com/questions/2689379/how-to-get-a-list-of-dates-between-two-dates-in-java