I was doing some development locally and needed to change the file time on some files so I could delete certain files in a directory.  Below is the code I used to change the files modified time: Hopefully you find this as useful as I did!