Events.Calendar.Duplicate
-------------------------

Creates a copy of the calendar.

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

MBS( "Events.Calendar.Duplicate"; EKCalendar ) 

**MBS**( **"Events.Calendar.Duplicate";** /\* Creates a copy of the calendar. \*/  
**$EKCalendar**) /\* The identifier or name of the calendar.e.g. $calendar \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKCalendar | The identifier or name of the calendar. | $calendar |

### Result

Returns ID or error.

### Description

Creates a copy of the calendar.  
Returns a new ID for the new calendar.  
### See also

- [Calendar.Calendar.Duplicate](CalendarCalendarDuplicate.md)
- [Events.Calendar.GetTitle](EventsCalendarGetTitle.md)
- [Events.Calendar.SetTitle](EventsCalendarSetTitle.md)

This function checks for a license.

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

  
[Events.Calendar.CalendarIdentifier](EventsCalendarCalendarIdentifier.md) - [Events.Calendar.GetColor](EventsCalendarGetColor.md)

[HTML Version](EventsCalendarDuplicate.shtml)