will this give me the date of the file in linix “date(“F d Y H:i:s.”,filemtime(“test.txt”));”
I am trying to remove a temp file that is X num of days old . I can do it in Windows but I don’t know if it will work on those other operating systems.
Yes the filemtime gives the file modification time, we have checked in linux. Further you can use below code which will give the X num of days after the file modified,