some musings on date conversion