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

On this page
    DateTimeOffsetFormat Property (MongoDBObject)
    On this page
    Gets or sets how a DateTimeOffset value is written to the document and which values are read as DateTimeOffset. The default value is MongoDBDateTimeOffsetFormat.DateTime. A document returned by MongoDBDataReader gets the DateTimeOffset Format of the connection.
    Syntax
    'Declaration
     
    Public Property DateTimeOffsetFormat As MongoDBDateTimeOffsetFormat
    public MongoDBDateTimeOffsetFormat DateTimeOffsetFormat {get; set;}
    See Also