Converts project time to UTC time.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- projectTime
- Type: SystemDateTime
The project time.
Remarks
Daylight savings time is not considered during this conversion.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | Thrown when the projectTime's kind is not Unspecified. |