Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MongoDB.Time

Create a new JSON value with given timestamp.

Component Version macOS Windows Linux Server iOS SDK
MongoDB 13.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "MongoDB.Time"; Value )   More

Parameters

Parameter Description Example
Value The time stamp to use.

Result

Returns OK or error.

Description

Create a new JSON value with given timestamp.
Value is in GMT/UTC.

Examples

Try it:

Set Variable [ $r; Value: MBS( "MongoDB.Time"; Get(CurrentTimeStamp)) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 9th March 2023, last changed 9th March 2023


MongoDB.TextToBinary - MongoDB.Trace