Skip to content

Discussion: New DateTime GetValue IContent #8031

@Lantzify

Description

@Lantzify

What type of issue is it? (Choose one - delete the others)

Discussion

What article/section is this about?

Date Only

Time Only

Date Time (with Time Zone)

Date Time (Unspecified)

Describe the issue

Great examples when setting the values programmatically. But if you want to get the value of new DateTime pickers from an IContent you would need to get the raw value and then parse it. I thought you could just type it directly. But no. I spend way more time than I want to admit trying to figure why I got null instead of the actual date. Then I came across this issue: #21992

I am thinking that adding how to get values might be an good idea?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions