dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBDateTimeOffsetFormat Enumeration

On this page
    MongoDBDateTimeOffsetFormat Enumeration
    On this page
    Specifies how DateTimeOffset values are stored.
    Syntax
    'Declaration
     
    Public Enum MongoDBDateTimeOffsetFormat 
       Inherits System.Enum
       Implements System.IComparable, System.IConvertible, System.IFormattable 
    public enum MongoDBDateTimeOffsetFormat : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
    Members
    MemberDescription
    ArrayAn array [ticks, offset in minutes].
    DateTimeA BSON date with the UTC instant; the offset is lost and the value is read with the offset of DateTime Kind.
    DocumentA document {DateTime, Ticks, Offset} as the official MongoDB driver stores it.
    StringThe text in the ISO 8601 format.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Devart.Data.MongoDB.MongoDBDateTimeOffsetFormat

    See Also