Handle null as a dateTime by not showing anything