RVTDocs.com

SunAndShadowSettings.StartDateAndTime

Property
Description:
Identifies the start or current date and time.
Remarks:
This property represents the start time for a single-day or multi-day study, or the current time for a still sun study. Note that Revit may ignore this value if the SunriseToSunset flag is set.
Syntax
public DateTime StartDateAndTime { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: Revit does not accept input DateTime objects if they are of kind DateTypeKind.Unspecified.