first date conversion