NAME

MongoDB::Timestamp - Timestamp used for replication

SYNOPSIS

This is an internal type used for replication. It is not for storing dates, times, or timestamps in the traditional sense. Unless you are looking to mess with MongoDB's replication internals, the class you are probably looking for is DateTime. See <MongoDB::DataTypes> for more information.

ATTRIBUTES

sec

Seconds since epoch.

inc

Incrementing field.