> Every Discord ID contains its creation timestamp. Learn the snowflake formula, see worked examples, and how RestoreCord blocks accounts that are too new.

Source: https://restorecord.io/discord-account-age

# How to tell a Discord account's age from its ID

You don't need any special access to know when an account was made. The date is baked into the ID, and you can decode it in one line of code or with a free lookup.

[Decode it in the lookup](https://restorecord.com/discord-user-lookup)

Short answer

Shift the ID right by 22 bits and add 1420070400000, Discord's epoch in Unix milliseconds. The result is the moment the account was created. RestoreCord's free lookup shows the same date without any maths.

## Discord IDs are snowflakes

Discord generates IDs in a format called a **snowflake**: a number whose leading bits are a timestamp. That timestamp counts milliseconds since **1 January 2015**, the start of Discord's own epoch.

That means the creation time isn't looked up from a database. It's part of the number itself, so it can't be edited, hidden or faked.

## Decoding it yourself

The calculation fits in a single line. Use a big-integer type, because IDs are too large for normal JavaScript numbers:

snowflake-date.jsjavascript

```
const id = 284617390551203840n;
const createdMs = (id >> 22n) + 1420070400000n;
console.log(new Date(Number(createdMs)).toISOString());
// 2017-02-24T09:27:53.842Z
```

The same works in Python with `(id >> 22) + 1420070400000`.

## A few worked examples

| Example ID          | Decoded creation date | What it suggests                   |
| ------------------- | --------------------- | ---------------------------------- |
| 284617390551203840  | 24 February 2017      | Long-standing account              |
| 1290563718842597376 | 1 October 2024        | Established, a couple of years old |
| 1561653149696123456 | 19 October 2026       | Created today                      |

The rule applies to every snowflake on Discord, so you can date servers, channels, roles and individual messages the same way.

## The easy way

If you'd rather not write code, paste the ID into the [RestoreCord Discord user lookup](https://restorecord.com/discord-user-lookup). The account creation date is shown on the result card next to the name, avatar and badges. Not sure where to get the ID? Follow [the step-by-step guide to copying a user ID](https://restorecord.io/find-discord-user-id).

## Why moderators check account age

Raids and spam waves are usually run with throwaway accounts registered minutes or hours before they join. When your member list suddenly fills with accounts created the same afternoon, that's rarely a coincidence. Checking one suspicious joiner by hand is fine. For a whole community, you want it enforced at the door.

* RestoreCord's Minimum Account Age setting turns away accounts younger than the number of days you set, at verification, before they get a role
* It's part of the Enterprise plan, alongside cellular-connection blocking and multi-server pulling
* Alt detection, VPN blocking and the blacklist, available from Premium, cover the cases where an old account is the problem

A young account is a signal, not a verdict. Real people join Discord every day because a friend sent them your invite. Pick a minimum age that stops throwaways without shutting out genuine newcomers.

Back to the [RestoreCord Lookup home](https://restorecord.io/), or see [a full vetting routine built around the ID](https://restorecord.io/vet-discord-user).

## Checking by hand vs enforcing it at verification

The free lookup is perfect for one account. A server-wide rule needs RestoreCord's verification gate.

|                                       | Free lookup      | Minimum Account Age |
| ------------------------------------- | ---------------- | ------------------- |
| Shows the creation date               |                  |                     |
| Shows name, avatar and badges         | —                |                     |
| Checks every new member automatically | —                |                     |
| Blocks before a role is granted       | —                |                     |
| Plan                                  | Free, no account | Enterprise          |

## Account age questions

### 

### 

### 

## Stop day-old accounts at the door

Set a minimum account age for verification and let RestoreCord turn throwaway accounts away before they reach your channels.

[Get started free](https://restorecord.com/register)[Compare plans](https://restorecord.com/pricing)
