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


Sets the end date for the event.

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


Parameter Description Example
EKEvent The reference to the event. $event
Date The time stamp for end date. Get(CurrentHostTimeStamp) + 3600


Returns OK or error.


Sets the end date for the event.


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.SetAvailability - Events.Event.SetStartDate