---
name: "Mango::BSON::Timestamp"
section: "3pm"
platform: "linux"
package: "libmango-perl"
version: "1.30-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mango::BSON::Timestamp"
---

# Mango::BSON::Timestamp(3pm)

Timestamp type

## NAME

Mango::BSON::Timestamp - Timestamp type

## SYNOPSIS

```
  use Mango::BSON::Timestamp;
  my $ts = Mango::BSON::Timestamp->new(seconds => 23, increment => 5);
```

## DESCRIPTION

Mango::BSON::Timestamp is a container for the BSON timestamp type used by Mango::BSON.

## ATTRIBUTES

Mango::BSON::Timestamp implements the following attributes.

### seconds

```
  my $seconds = $ts->seconds;
  $ts         = $ts->seconds(23);
```

Seconds.

### increment

```
  my $inc = $ts->increment;
  $tz     = $ts->increment(5);
```

Increment.

## METHODS

Mango::BSON::Timestamp inherits all methods from Mojo::Base.

## SEE ALSO

Mango, Mojolicious::Guides, \<http://mojolicio.us\>.
