adds getElapsePostDate function to get the post's elapsed time