dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBObject Class / DateTimeKind Property

On this page
    DateTimeKind Property (MongoDBObject)
    On this page
    Gets or sets the DateTimeKind of the DateTime values read from the document; a written DateTime of the Unspecified kind is taken for this kind. The default value is Utc; Unspecified is not allowed. A document returned by MongoDBDataReader gets the DateTime Kind of the connection.
    Syntax
    'Declaration
     
    Public Property DateTimeKind As DateTimeKind
    public DateTimeKind DateTimeKind {get; set;}
    See Also