I am trying to compare a file's modified timestamp with the current date. I can use 'stat' to get the timestamp of the file but am not sure how to compare it to the localtime(). More importantly I want to be able to quantify the difference in days, month, hours and minutes. Any suggestions?
- Re: Comparing file dates with current date Paul Harwood
- Re: Comparing file dates with current date Tore Aursand
- Re: Comparing file dates with current date John W. Krahn
- Re: Comparing file dates with current date Randal L. Schwartz