Display time of file

$ brew install coreutils
$ gdate -r file.ext '+%F %T'

Will print:

2007-06-27 20:03:44
Matthias Marschall Over 12 years ago