Make function name more descriptive by changing from show_time to show_date_or_datetime.