Parameters
- dateTime
Return Value
The UTC DateTime.
Exception | Description |
---|---|
System.ArgumentException | dateTime.Kind is Utc and current time zone does not equal Utc -or- dateTime.Kind is Local and curernt time zome does not equal Local -or- dateTime value represents invalid time. |