# Timestamps

## **What is a timestamp?**

A timestamp is a marker that indicates a specific moment in time, such as when a message was sent or an event occurred.

## What is Unix time?

Unix time, or Epoch time, is a system for measuring time starting from January 1, 1970. It shows the number of seconds that have passed since this point. Discord uses this standard for managing time.

## How to Format a Timestamp in Discord?

To create a timestamp in Discord, use the following format:

```
<t:unix:format>
```

* **`unix`**: The Unix time (epoch time) in seconds. It represents the specific moment you want to display.
* **`format`**: The format you want to use for displaying the timestamp (e.g., `t`, `T`, `d`, `D`, `f`, `F`, `R`).

## Timestamp Formats in Discord

| Format | Description                                                           |
| ------ | --------------------------------------------------------------------- |
| `t`    | Time in `HH:MM` format                                                |
| `T`    | Time in `HH:MM:SS` format                                             |
| `d`    | Date in `DD/MM/YY` format                                             |
| `D`    | Date in `Day Month, Year` format                                      |
| `f`    | Date and time in `Day Month, Year HH:MM` format                       |
| `F`    | Full date and time in `Day of the week, Day Month, Year HH:MM` format |
| `R`    | Relative time, showing how long ago the timestamp was                 |

### Examples:

| Example Usage      | Result                                                                                                                                                                                                                                                 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `<t:1671263646:t>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2FC6toVdcwR0Phzl2cSMwJ%2Fimage.png?alt=media&#x26;token=5ed63630-e97e-4c01-ad4d-bc8d13d5ff43" alt="" data-size="line"> |
| `<t:1671263646:T>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2FAoqpwyT1eAjNCbhzYE5u%2Fimage.png?alt=media&#x26;token=eaa9b914-4f81-4903-beda-7631ef29758d" alt="" data-size="line"> |
| `<t:1671263646:d>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2F5gVmIqv5ua5xMZYxw7Uy%2Fimage.png?alt=media&#x26;token=333cd5ed-94e6-41cc-949b-28769dbb731f" alt="" data-size="line"> |
| `<t:1671263646:D>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2FwOIllA7iXIUl07TWWonj%2Fimage.png?alt=media&#x26;token=dbdf8aa5-10fd-477a-811a-82fc647d1fd0" alt="" data-size="line"> |
| `<t:1671263646:f>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2FdVHIz2godb5MZS4pjI4a%2Fimage.png?alt=media&#x26;token=fcc6be1f-45b3-4245-9e05-b2a1acfaeb28" alt="" data-size="line"> |
| `<t:1671263646:F>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2Fgzp6eC1mgOqjxSTCE6eN%2Fimage.png?alt=media&#x26;token=587a53d0-2372-4251-80e2-9a0ab5171200" alt="" data-size="line"> |
| `<t:1671263646:R>` | <img src="https://3927572991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hy8ldYgZJ9GQJFAuYLR%2Fuploads%2FcZtExJCZdysarF6ECJQS%2Fimage.png?alt=media&#x26;token=6e11a480-a692-4e5b-a190-8ae8e5c8bfd3" alt="" data-size="line"> |
