Skip to content

Please clarify DateTimeKind for DateOnly.ToDateTime(TimeOnly) #10261

@nrensenzf

Description

@nrensenzf

Type of issue

Missing information

Description

Please explicitly state which DateTimeKind is selected when using DateOnly.ToDateTime(TimeOnly). Without this information the behaviour of that method is undefined.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.dateonly.todatetime?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/DateOnly.xml

Document Version Independent Id

0b4791b7-c560-d003-7321-dc73082cad20

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions