Wrap date formatting in a code block