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.

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 IDDecoded creation dateWhat it suggests
28461739055120384024 February 2017Long-standing account
12905637188425973761 October 2024Established, a couple of years old
156165314969612345619 October 2026Created 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. 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.

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, or see a full vetting routine built around the ID.

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 lookupMinimum Account Age
Shows the creation date
Shows name, avatar and badges—
Checks every new member automatically—
Blocks before a role is granted—
PlanFree, no accountEnterprise

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.