in reply to File Datetime stamp

Something like

perl -e 'print localtime(time - 24*60*60*(-M "test.txt")).""'

Substitute  -M if it is not exactly what you want