public override void Serialize(BsonSerializationContext context, BsonSerializationArgs args, BsonDateTime value) { context.Writer.WriteString(value.ToString()); }