The todate() function

Assembles a dtl value with both date and time portions out of datetime components.