introduced datetimetype to template