get pretime of a release using php