stat format %Y is seconds since epoch and works on CentOS too

The previous stat command didn't work on my devserver, I tested this stat command on a CentOS 6 machine, and an Ubuntu Precise machine and it seemed to work in both places...