Search Results for

    Show / Hide Table of Contents
    View Source

    Class DateTimeEditorValue

    Represents the value stored by a date and time editor in Umbraco.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Models
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    [DataContract]
    public class DateTimeEditorValue

    Constructors

    View Source

    DateTimeEditorValue()

    Declaration
    public DateTimeEditorValue()

    Properties

    View Source

    Date

    Gets or sets the date component of the editor value as a string, typically representing only the date part (e.g., "yyyy-MM-dd").

    Declaration
    [DataMember(Name = "date")]
    public string? Date { get; set; }
    Property Value
    Type Description
    string
    View Source

    TimeZone

    Gets or sets the time zone identifier associated with the date and time value.

    Declaration
    [DataMember(Name = "timeZone")]
    public string? TimeZone { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX