Identifies the start or current date and time.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public DateTime StartDateAndTime { get; set; }
Property Value
DateTimeThe date and time. The output value will be in Coordinated Universal Time (UTC), but input may be in local time as well.
Exceptions
Exception | Condition |
---|---|
ArgumentException | When setting this property: Revit does not accept input DateTime objects if they are of kind DateTypeKind.Unspecified. |