Syntax and style changes to date printing