Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- Events.Event.GetAllDay
- Events.Event.GetEndDate
- Events.Event.GetStartDate
- Events.Event.SetAllDay
- Events.Event.SetStartDate
- Events.NewEvent
- Events.SaveEvent
Example Databases
Blog Entries
This function checks for a license.
Created 10th March 2016, last changed 24th March 2016