Property AsUniversalTime
AsUniversalTime
Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid).
[Obsolete("Use ToUniversalTime instead.")]
public DateTime AsUniversalTime { get; }
Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid).
[Obsolete("Use ToUniversalTime instead.")]
public DateTime AsUniversalTime { get; }