JsonDateKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |