Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Events.Event.SetEndDate

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

Parameters

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

Result

Returns OK or error.

Description

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

💬 Ask a question or report a problem