Calendar.Item.GetAllDay
-----------------------

Queries whether event is all day.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.4](newinversion34.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.Item.GetAllDay"; EventRef ) 

**MBS**( **"Calendar.Item.GetAllDay";** /\* Queries whether event is all day. \*/  
**$EventRef**) /\* The reference to the event. \*/ 

### Parameters

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

### Result

Returns setting or error.

### Description

Queries whether event is all day.  
Value is 1 for all day events or zero otherwise.  
### See also

- [Calendar.Item.GetAlarms](CalendarItemGetAlarms.md)
- [Calendar.Item.GetCalendar](CalendarItemGetCalendar.md)
- [Calendar.Item.GetDueDate](CalendarItemGetDueDate.md)
- [Calendar.Item.GetEndDate](CalendarItemGetEndDate.md)
- [Calendar.Item.GetNotes](CalendarItemGetNotes.md)
- [Calendar.Item.GetTitle](CalendarItemGetTitle.md)
- [Calendar.Item.GetUID](CalendarItemGetUID.md)
- [Calendar.Item.SetAllDay](CalendarItemSetAllDay.md)
- [Calendar.Item.SetDueDate](CalendarItemSetDueDate.md)
- [Calendar.Item.SetEndDate](CalendarItemSetEndDate.md)

### Example Databases

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

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Calendar.Item.GetAlarms](CalendarItemGetAlarms.md) - [Calendar.Item.GetAttendeeCommonName](CalendarItemGetAttendeeCommonName.md)

[HTML Version](CalendarItemGetAllDay.shtml)