doc1355 Posted September 5, 2008 Share Posted September 5, 2008 I have a file that is being updated automatically via a Cron job. I want to get the time that this file was last updated in a variable so I can use it for my next update process. How can I do this? Link to comment https://forums.phpfreaks.com/topic/122872-solved-get-file-edit-time/ Share on other sites More sharing options...
discomatt Posted September 5, 2008 Share Posted September 5, 2008 http://php.net/filemtime Link to comment https://forums.phpfreaks.com/topic/122872-solved-get-file-edit-time/#findComment-634584 Share on other sites More sharing options...
doc1355 Posted September 5, 2008 Author Share Posted September 5, 2008 That is exactly what I was looking for Thanks Link to comment https://forums.phpfreaks.com/topic/122872-solved-get-file-edit-time/#findComment-634585 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.