IsBeforeEndDateAndTime Method


Checks whether the start date and time is valid.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011

Syntax

C#
public bool IsBeforeEndDateAndTime(
	DateTime time
)
Visual Basic
Public Function IsBeforeEndDateAndTime ( _
	time As DateTime _
) As Boolean
Visual C++
public:
bool IsBeforeEndDateAndTime(
	DateTime time
)

Parameters

time
Type: SystemDateTime
Date and time value

Return Value

True if the date and time is valid, false otherwise.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →