DateTime.ToRecord(dateTime as datetime) as record
Returns a record containing the parts of the given datetime value,
datetimevalue for from which the record of its parts is to be calculated.
#datetime(2011, 12, 31, 11, 56, 2) value into a record containing Date and Time values.
DateTime.ToRecord(#datetime(2011, 12, 31, 11, 56, 2))