The Date Kind of originalDate is very important and determines how the conversion is done - generally this would be Unspecified.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| originalDate | Date | The original DateTime to convert. | ||
| utcDate | Date | ByRef | The converted DateTime in UTC format. | |
| timeZoneId | String | Optional | Optional time zone to convert from. This may be either the TimeZone Key or the Windows Id. Do not set if date kind is already UTC or Local (unless local time zone is specified). |
A Boolean value indicating success.