Appointment.end property (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets or sets the date and time that the appointment is to end.

Last modified: June 12, 2014

Applicable Outlook modes

Compose or read

Available in requirement sets

Mailbox

Office.context.mailbox.item.end;

Compose mode

A Time object that provides methods that are used to get and set the date and time that the appointment is to end.

Read mode

A JavaScript Date object that contains the date and time the appointment is to end.

The end property is expressed as a Coordinated Universal Time (UTC) date and time value. You can use the convertToLocalClientTime method on the Mailbox object to convert the end property value to the client’s local date and time.

When you use the setAsync method on the Time object to set the end time in compose mode, you should use the convertToUtcClientTime method on the Mailbox object to convert the local time on the client to UTC for the server.

New functionality in version 1.1

In compose mode apps for Office, the end field is a Time object that provides getAsync and setAsync methods to get and set the end time of the appointment.

App types

Mail app

Supported clients

Outlook 2013, Outlook 2013 SP1, Outlook 2013 RT, Outlook Web App, and OWA for Devices

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft