- Reference >
- mongo Shell Methods >
- Object Constructors and Methods
Object Constructors and MethodsΒΆ
Name | Description |
---|---|
Date() | Creates a date object. By default creates a date object including the current date. |
UUID() | Converts a 32-byte hexadecimal string to the UUID BSON subtype. |
ObjectId.getTimestamp() | Returns the timestamp portion of an ObjectId. |
ObjectId.toString() | Displays the string representation of an ObjectId. |
ObjectId.valueOf() | Displays the str attribute of an ObjectId as a hexadecimal string. |
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.