another try at the date conversion