Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 2.16 KB

File metadata and controls

59 lines (45 loc) · 2.16 KB
author spgraph-docs-team
description The dateTimeColumn on a columnDefinition resource indicates that the column's values are dates or times.
ms.date 09/11/2017
title DateTimeColumn
ms.localizationpriority medium
doc_type resourcePageType
ms.subservice sharepoint

DateTimeColumn resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

The dateTimeColumn on a columnDefinition resource indicates that the column's values are dates or times.

Properties

Property Type Description
displayAs string How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
format string Indicates whether the value should be presented as a date only or a date and time. It must be either dateOnly or dateTime.

DisplayAs values

Value Description
default Uses the default rendering in the UX.
friendly Uses a friendly relative representation (for example "today at 3:00 PM").
standard Uses the standard absolute representation (for example "5/10/2017 3:20 PM").

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "displayAs": "default | friendly | standard",
  "format": "dateOnly | dateTime"
}