Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Events.Event.SetStartDate

Sets the start date for the event.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Event.SetStartDate"; EKEvent; StartDate )   More

Parameters

Parameter Description Example
EKEvent The reference to the event. $event
StartDate The new start date for the event. Get(CurrentHostTimeStamp)

Result

Returns OK or error.

Description

Sets the start date for the event.

Examples

Update dates:

Set Variable [$c; Value:CalendarTest::ItemUID]
Set Variable [$r; Value:MBS("Events.Event.SetEndDate"; $c; CalendarTest::ItemEndDate)]
Set Variable [$r; Value:MBS("Events.Event.SetStartDate"; $c; CalendarTest::ItemStartDate)]
Set Variable [$r; Value:MBS("Events.SaveEvent"; $c; "this"; 1 )]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 10th March 2016, last changed 24th March 2016


Events.Event.SetEndDate - Events.Event.SetStructuredLocation