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