Converts any PPL type to DDATE type.
Example:
DATE d1 DDATE d2 d2 = TODDATE(d1)
This is an explicit type conversion. Implicit type conversion is also valid as with all other PPL types. See also: Date DDate data type MkDate