Functions and {date_time} structure type to work with date and time.
