date to datetime appears reasonably functioning