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: November 24, 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.

In this article, "Outlook" refers to Outlook for Windows, Outlook for Mac, Outlook RT, OWA for Devices (OWA for Android phones, OWA for iPad, OWA for iPhone), and Outlook Web App. "Outlook rich clients" refers to Outlook for Windows, Outlook for Mac and Outlook RT. At this point, Outlook for Mac supports JavaScript API for Office in only Outlook read mode, and can activate mail apps that reference office.js version 1.0 or 1.1 and use apps for Office schema version 1.0.

App types

Mail app

Supported clients

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

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft