UNNotification.SetCalendarDateTrigger
-------------------------------------

Sets a calendar based trigger.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UNNotification](component_UNNotification.md) | [9.3](newinversion93.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "UNNotification.SetCalendarDateTrigger"; UNNotificationRef; TimeStamp ) 

**MBS**( **"UNNotification.SetCalendarDateTrigger"** /\* Sets a calendar based trigger. \*/  
**$UNNotificationRef**; /\* The reference number of the notification. e.g. $Notification \*/   
**$TimeStamp**) /\* The time stamp for the date and time to use. e.g. Get(SystemTimeStamp) \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UNNotificationRef | The reference number of the notification. | $Notification |
| TimeStamp | The time stamp for the date and time to use. | Get(SystemTimeStamp) |

### Result

Returns OK or error.

### Description

Sets a calendar based trigger.  
Can be scheduled on the device to notify based on date and time values.  
Will schedule to run at the given date and time.  
### See also

- [UNNotification.SetCalendarTrigger](UNNotificationSetCalendarTrigger.md)
- [UNNotification.SetTimeIntervalTrigger](UNNotificationSetTimeIntervalTrigger.md)

### Release notes

- **Version 9.3**
    - Added [UNNotification.Deliver](http://www.mbsplugins.eu/UNNotificationDeliver.shtml), [UNNotification.GetDescription](http://www.mbsplugins.eu/UNNotificationGetDescription.shtml) and [UNNotification.SetCalendarDateTrigger](http://www.mbsplugins.eu/UNNotificationSetCalendarDateTrigger.shtml) functions.

### Example Databases

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

### Blog Entries

- [Neues vom MBS Plugin 9.3](https://www.mbsplugins.de/archive/2019-09-13/Neues_vom_MBS_Plugin_93/monkeybreadsoftware_blog_filemaker)
- [Whats new in MBS FileMaker Plugin version 9.3](https://www.mbsplugins.de/archive/2019-08-17/Whats_new_in_MBS_FileMaker_Plu/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 9.3pr3](https://www.mbsplugins.de/archive/2019-06-21/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 19th June 2019 , last changed 19th June 2019

  
[UNNotification.SetBody](UNNotificationSetBody.md) - [UNNotification.SetCalendarTrigger](UNNotificationSetCalendarTrigger.md)

[HTML Version](UNNotificationSetCalendarDateTrigger.shtml)