searching sd card files by created by or modified by time and date

Hi all

Can anyone help me out how to search sd card FILES based on created by or modified by . I am using RTC. So I will get the date and time through it. But later on i want my program to search the files based on the day they were created (date as well as time).

I am using example timestamp.ino from SDFAT library. From this i can only assign created by and modified by . But i want my system to search based on date and time.

I have gone through sites but no examples of such kind is present

I know that root.ls(LS_R | LS_DATE | LS_SIZE); will work but

It gives date time and filename. while i only want time and filename.

Can anyone please help me out