replace date to SECONDS, http://goo.gl/dsHOx