I got my code for cmd:
dir | findstr /b %date% | findstr / Neues > C:/users/user/desktop/file.txt
works perfectly for me and write this in the