Changes date format in registers