put month before day when formatting date