Android selects only the pictures created today

Intent intent = new Intent(Intent.ACTION_PICK);
intent.setType("image/*");
startActivityForResult(intent, REQUEST_IMAGE);

is it possible to implement this function in the above code

or can only be customized?

Apr.02,2021

 Date today = new Date();
      today.setHours(0);
      today.setMinutes(0);
      today.setSeconds(0);

 final long time = today.getTime()/1000;
        
 Cursor cursor = MediaStore.Images.Media.query(getContentResolver(),
                MediaStore.Images.Media.EXTERNAL_CONTENT_URI
                , null
                , MediaStore.Images.Media.DATE_MODIFIED + ">"+ time
                , null
                , MediaStore.Images.Media.DATE_MODIFIED+" DESC");
Menu