JsonDateKind Enum

Definition

Enums for ConvertFrom-Json -DateKind parameter.

public enum JsonDateKind
type JsonDateKind = 
Public Enum JsonDateKind
Inheritance
JsonDateKind

Fields

Name Value Description
Default 0

DateTime values are returned as a DateTime with the Kind representing the time zone in the raw string.

Local 1

DateTime values are returned as the Local kind representation of the value.

Utc 2

DateTime values are returned as the UTC kind representation of the value.

Offset 3

DateTime values are returned as a DateTimeOffset value preserving the timezone information.

String 4

DateTime values are returned as raw strings.

Applies to