find files for next day of the date entered

i have few files generated everyday with a date stamp. Sometimes it happens that if the files are generated late i.e after 00:00 hrs the date stamp will be of the next day.

example:

110123_file1
110123_file2
110123_file3
110124_file4

in the above example file4 is also for the previous day i.e 23rd(as per example) but its generated after 00:00hrs which results in date stamp for the current day.

i want to copy the files for a specific date to another location but in this case only 3 files will be copied and file4 will be copied for the next day run while file4 is for the previous day.

lets say these files are generated after 20:45hrs everyday. but if there is any delay also the files will be generated within 02:00hrs the next day. so i want to have a check wherein i input the date(23rd for the example above) and it should take all the files generated after 20:45hrs for the date entered even the file4 in this case.

all the files generated will have standard filename along with the date stamp.

what is your app or content of script if it there is?

The easiest way could be get your "limit" file and use find to do your stuff:

# ll
total 0
-rw-r--r--   1 xxx     x              0 Nov 11 11:50 1.dat
-rw-r--r--   1 xxx     x               0 Nov 11 11:50 2.dat
-rw-r--r--   1 xxx     x               0 Nov 11 11:50 3.dat
-rw-r--r--   1 xxx     x               0 Nov 11 11:50 4.dat
#find . -type f -newer 1.dat 
./2.dat
./3.dat
./4.dat