formatted both dates