If we don't work with these date formats elsewhere, these functions might be better off inside of the PostController.