MongoDB\BSON\UTCDateTime::serialize

Serialize a UTCDateTime

Description

final public string MongoDB\BSON\UTCDateTime::serialize ( void )

Parameters

This function has no parameters.

Return Values

Returns the serialized representation of the MongoDB\BSON\UTCDateTime.

Errors/Exceptions

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

See Also