Method ToDateTime
ToDateTime()
Converts this date value to a DateTime instance.
public DateTime ToDateTime()
Returns
Exceptions
- ValueOverflowException
If the value cannot be represented with DateTime
- ValueTruncationException
If a truncation occurs during conversion