JsonConvertToString Method (DateTime) |
Converts a DateTime to a string.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax public static string ToString(
DateTime value
)
Public Shared Function ToString (
value As DateTime
) As String
static member ToString :
value : DateTime -> string
Parameters
- value
- Type: SystemDateTime
The value.
Return Value
Type:
StringA string.
See Also