Export (0) Print
Expand All

Mailbox.convertToUtcClientTime method (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets a Date object from a dictionary containing time information.

Last modified: June 12, 2014

Applicable Outlook modes

Compose or read

Available in requirement sets

Mailbox

Office.context.mailbox.convertToUtcClientTime(input)

input

A dictionary containing a date. The dictionary should contain the following fields: year, month, date, hours, minutes, seconds, time zone, time zone offset.

A Date object with the time expressed in UTC.

The convertToUtcClientTime method converts a dictionary containing a local date and time to a Date object with the correct values for the local date and time.

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