Edit

dateWithOptionalTime resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The dueDateTime property of the task resource uses this type. The finishDateTime property of the task resource uses this type. The startDateTime property of the task resource uses this type.

A date value with an optional time-of-day component, used for task start, due, and finish dates.

Properties

Property Type Description
date Date The date component of the value.
isTimeSpecified Boolean Indicates whether a specific time (not just a date) was provided.
time TimeOfDay The optional time-of-day component of the value.
timeZone String Time zone the time value is expressed in, if time is set.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.dateWithOptionalTime",
  "date": "Date",
  "time": "String (time of day)",
  "timeZone": "String",
  "isTimeSpecified": "Boolean"
}