Why is MongoDB timestamp is disabled?

That's because you really don't want to use timestamp which is a MongoDB-internal data type:


You want to use date which is really an ISODate data type or alternatively use string with a format date-time, ideally formatted according to ISO 8601.


Alternatively, you may want to use a String data type with a date-time format.


We do display the timestamp data type for backward compatibility purposes, but disabled it so users would not be tempted to use it.