Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Events.Item.SetTimeZone

Sets time zone for this item.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Item.SetTimeZone"; EKCalendarItem; TimeZone )   More

Parameters

Parameter Description Example
EKCalendarItem The reference to the calendar item: an event or reminder. $item
TimeZone The new Timezone.
Value of "System" sets to system time zone.
Value of "Default" sets to default time zone.
"GMT"

Result

Returns OK or error.

Description

Sets time zone for this item.

Examples

Set time zone:

If [IsEmpty(Events Create Reminder::TimeZone)]
    #we don't set it
Else
    Set Variable [$r; Value:MBS( "Events.Item.SetTimezone"; $reminder; Events Create Reminder::TimeZone )]
End If

See also

Release notes

Blog Entries

This function checks for a license.

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


Events.Item.SetNotes - Events.Item.SetTitle