Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Events.Event.SetEndDate

Sets the end date for the event.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No No

MBS( "Events.Event.SetEndDate"; EKEvent; Date )

Parameters

Parameter Description Example value
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


Events.Event.SetAvailability   -   Events.Event.SetStartDate

Feedback: Report problem or ask question.




Links
MBS Xojo blog