It is like an automatic batch file to backup the contents of a Folder: folderA/*.*
It will write the contents into a backup folder depending on the the day of the month, there will be 31 backup folders: backupfolder1, backupfolder2....backupfolder31.
If the day is April 5 it will copy folderA/*.* to backupfolder5. If it is April 10 it will copy folderA/*.* into backupfolder10.
On the next month it will erase the contents of backupfolder before copying. i.e. on May 5 it erases the contents of backupfolder5 and then copies folderA/*.* to backupfolder5/
The program needs to have the ability to change the time of the backup is performed