Events.Reminder.SetStartDate
----------------------------

Sets the start date of the task.

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

MBS( "Events.Reminder.SetStartDate"; EKReminder; StartDate ) 

**MBS**( **"Events.Reminder.SetStartDate";** /\* Sets the start date of the task. \*/  
**$EKReminder**; /\* The reference to the reminder.e.g. $Reminder \*/   
**$StartDate**) /\* The new start date as timestamp.e.g. Get(CurrentHostTimeStamp) \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKReminder | The reference to the reminder. | $Reminder |
| StartDate | The new start date as timestamp. | Get(CurrentHostTimeStamp) |

### Result

Returns OK or error.

### Description

Sets the start date of the task.  
### Examples

Set start date and save:

 MBS ( "Events.Reminder.SetStartDate"; "3E802BF6-BE7C-42EA-BA4A-16CCF824AA31"; Get(CurrentHostTimeStamp) ) &amp;   
MBS ( "[Events.SaveReminder](EventsSaveReminder.md)"; "3E802BF6-BE7C-42EA-BA4A-16CCF824AA31")  
Set Start Date:

 If \[not IsEmpty(Events Create Reminder::StartDate )\]  
 Set Variable \[$r ; Value:MBS ( "Events.Reminder.SetStartDate"; $reminder ; Events Create Reminder::StartDate )\]  
End If  
### See also

- [Events.Event.SetStartDate](EventsEventSetStartDate.md)
- [Events.NewReminder](EventsNewReminder.md)
- [Events.Reminder.GetDueDate](EventsReminderGetDueDate.md)
- [Events.Reminder.GetStartDate](EventsReminderGetStartDate.md)
- [Events.Reminder.SetCompleted](EventsReminderSetCompleted.md)
- [Events.Reminder.SetDueDate](EventsReminderSetDueDate.md)
- [Events.Reminder.SetPriority](EventsReminderSetPriority.md)
- [Events.SaveReminder](EventsSaveReminder.md)

### Example Databases

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

This function checks for a license.

Created 10th March 2016 , last changed 13th March 2016

  
[Events.Reminder.SetPriority](EventsReminderSetPriority.md) - [Events.Reminder.SetStartDateComponents](EventsReminderSetStartDateComponents.md)

[HTML Version](EventsReminderSetStartDate.shtml)