using sdf for date conversion