Events.Event.GetAllDay
----------------------

Query whether this is an all day event.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Event.GetAllDay"; EKEvent ) 

**MBS**( **"Events.Event.GetAllDay";** /\* Query whether this is an all day event. \*/  
**$EKEvent**) /\* The reference to the event.e.g. $event \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKEvent | The reference to the event. | $event |

### Result

Returns 0, 1 or error.

### Description

Query whether this is an all day event.  
### See also

- [Events.Event.GetEndDate](EventsEventGetEndDate.md)
- [Events.Event.SetAllDay](EventsEventSetAllDay.md)
- [Events.Event.SetEndDate](EventsEventSetEndDate.md)

### Example Databases

- [Mac and iOS/Events/Events Import](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Events%20Import.shtml#1ScriptAnchor_)
- [Mac and iOS/Events/Events Sync](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Events%20Sync.shtml#6ScriptAnchor_)

This function checks for a license.

Created 10th March 2016 , last changed 12nd March 2016

  
[Events.Event.EventIdentifier](EventsEventEventIdentifier.md) - [Events.Event.GetAvailability](EventsEventGetAvailability.md)

[HTML Version](EventsEventGetAllDay.shtml)