Thanks!

On Monday, October 20, 2014 8:15:01 PM UTC+7, Tim Holy wrote:
>
> mtime 
>
> --Tim 
>
> On Monday, October 20, 2014 05:17:13 AM Tony Fong wrote: 
> > Is there a way to get the modification time of a file (path given)? 
> > 
> > Right now I'm using this round-about way: 
> > 
> > using Dates 
> > refreshtimestr = readall( `stat -f "%m" $f`) 
> > refreshtime = unix2datetime( int( chomp( refreshtimestr ) ) ) 
> > 
> > I'm not sure how portable this is (it works okay on a mac). 
>
>

Reply via email to