Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.Reminder.SetStartDateComponents
Sets the start date of the task, as date components.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.Reminder.SetStartDateComponents"; EKReminder { ; Year; Month; Day; Hour; Minute; Second; TimeZone } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
EKReminder | The reference to the reminder. | $Reminder | |
Year | The year number. If missing or negative, no year is defined. |
2016 | Optional |
Month | The month number. If missing or negative, no month is defined. |
12 | Optional |
Day | The day number. If missing or negative, no day is defined. |
12 | Optional |
Hour | The hour number. If missing or negative, no hour is defined. |
16 | Optional |
Minute | The minute number. If missing or negative, no minute is defined. |
12 | Optional |
Second | The second number. If missing or negative, no second is defined. |
0 | Optional |
TimeZone | The time zone to use. Value of "System" sets to system time zone. Value of "Default" sets to default time zone. |
"GMT" | Optional |
Result
Returns OK or error.
Description
Sets the start date of the task, as date components.The use of date components allows the start date and its time zone to be represented in a single property.
A undefined time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to true.
See also
This function checks for a license.
Created 10th March 2016, last changed 13th March 2016