SiteLocation.ConvertToProjectTime
Method
Description:
Converts local time or UTC time to project time.
Converts local time or UTC time to project time.
Remarks:
Daylight savings time is not considered during this conversion.
Daylight savings time is not considered during this conversion.
Parameters
Parameter | Type | Description |
---|---|---|
inputTime | DateTime | The input local time or UTC time. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the inputTime's kind is neither Local nor Utc. |