Class DateTimeValueConverterBase.DateTimeDto
Model/DTO that represents the JSON that date time property editors persisting as a JSON string stores.
Inheritance
object
Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DateTimeValueConverterBase.DateTimeDto
Properties
View SourceDate
Gets or sets the date time value.
Declaration
[JsonPropertyName("date")]
public DateTimeOffset Date { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
TimeZone
Gets or sets the (optional) timezone.
Declaration
[JsonPropertyName("timeZone")]
public string? TimeZone { get; init; }
Property Value
| Type | Description |
|---|---|
| string |