Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

convert.todatetime with null value #11464

Copy link
Copy link
Open
@Greydog1

Description

@Greydog1
Issue body actions

Type of issue

Code doesn't work

Description

The documentation indicates that a null value will return .minvalue. But I receive a conversion error in vb.net: "Object cannot be cast from DBNull to other types."

Page URL

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

Content source URL

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

Document Version Independent Id

8e6b1295-7f2a-906c-d15a-7746d1004a29

Platform Id

74c1da5b-33d7-bdd0-7764-509f361d4d36

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.