Simplify date formatting functions