SiteLocationConvertFromProjectTime Method |
Converts project time to UTC time.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic DateTime ConvertFromProjectTime(
DateTime projectTime
)
Public Function ConvertFromProjectTime (
projectTime As DateTime
) As DateTime
public:
DateTime ConvertFromProjectTime(
DateTime projectTime
)
member ConvertFromProjectTime :
projectTime : DateTime -> DateTime
Parameters
- projectTime DateTime
- The project time.
Return Value
DateTime
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the projectTime's kind is not Unspecified.
|
RemarksDaylight savings time is not considered during this conversion.
See Also