# `AshPostgres.TimestamptzUsec`
[🔗](https://github.com/ash-project/ash_postgres/blob/v2.8.0/lib/types/timestamptz_usec.ex#L5)

Implements the PostgresSQL [timestamptz](https://www.postgresql.org/docs/current/datatype-datetime.html) (aka `timestamp with time zone`) type with nanosecond precision.

```elixir
attribute :timestamp, AshPostgres.TimestamptzUsec
timestamps type: AshPostgres.TimestamptzUsec
```

Alternatively, you can set up a shortname:

```elixir
# config.exs
config :ash, :custom_types, timestamptz_usec: AshPostgres.TimestamptzUsec
```

After saving, you will need to run `mix compile ash --force`.

```elixir
attribute :timestamp, :timestamptz_usec
timestamps type: :timestamptz_usec
```

Please see `AshPostgres.Timestamptz` for details about the usecase for this type.

# `handle_change?`

# `prepare_change?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
