Export (0) Print
Expand All

Appointment.start 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 begin.

Last modified: June 12, 2014

Applicable Outlook modes

Compose or read

Available in requirement sets

Mailbox

Office.context.mailbox.item.start;

Compose mode

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

Read mode

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

The start 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 start property value to the client’s local date and time.

When you use the setAsync method on the Time object to set the start 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 start field is a Time object that provides getAsync and setAsync methods to get and set the start 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