reformatted date code