Added the pretty date method.