Updating date formatting function...