Creates a new RecurrenceRule from starting DateTime. It prefills certain fields but it's still necessary to specify it further by calling methods like Weekly().

Namespace: DayPilot.Web.Mvc.Recurrence
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
public static RecurrenceRule FromDateTime(
	string id,
	DateTime start
)
Visual Basic
Public Shared Function FromDateTime ( _
	id As String, _
	start As DateTime _
) As RecurrenceRule
Visual C++
public:
static RecurrenceRule^ FromDateTime(
	String^ id, 
	DateTime start
)

Parameters

id
Type: System..::..String
Event id.
start
Type: System..::..DateTime
Starting DateTime.

Return Value

See Also