Last updated
How to Extract Creation Date from Twitter ID
Find the Twitter ID you want to extract the creation date from. This can be a tweet ID, user ID, or any Twitter snowflake ID.
The Formula
// Twitter epoch: November 4, 2010 at 01:42:54 UTC = 1288834974657 ms
timestamp_ms = (twitter_id >> 22) + 1288834974657
Why Extract Creation Dates from Twitter IDs?
- Tweet Analysis: Find when specific tweets were posted
- Account Verification: Check when Twitter accounts were created
- Timeline Research: Build chronological timelines of events
- Bot Detection: Identify newly created suspicious accounts
- Data Analysis: Sort and analyze Twitter data by creation time
How the Extraction Works
Twitter uses snowflake IDs - 64-bit unique identifiers that encode the creation timestamp in the first 42 bits. Our extraction tool uses the formula:
creation_date = (twitter_id >> 22) + 1288834974657
This extracts the millisecond timestamp and converts it to a human-readable date.
Example Extractions
ID: 1382350606417817604
Extracted Date: April 14, 2021, 15:30:06 UTC
ID: 1800000000000000000
Extracted Date: July 10, 2024, 12:00:00 UTC
ID: 2024288437327843509
Extracted Date: December 15, 2024, 08:45:30 UTC
Features
- ✅ Instant extraction - results in milliseconds
- ✅ 100% accurate - uses Twitter's official algorithm
- ✅ Works for all Twitter IDs - tweets, users, DMs, etc.
- ✅ Privacy-focused - all processing in your browser
- ✅ Free forever - no signup or payment required
Examples
Example 1: Extract Date from a Tweet ID
Tweet ID: 1382350606417817604
Step 1: Right-shift by 22
1382350606417817604 >> 22 = 329869
Step 2: Add Twitter epoch
329869 + 1288834974657 = 1288835304526 ms
Step 3: Convert to date
new Date(1288835304526) = 2021-04-14T16:05:30.000Z
Result: Tweet was posted April 14, 2021 at 16:05:30 UTC
Example 2: JavaScript Extractor
function extractTwitterDate(twitterId) {
const TWITTER_EPOCH = 1288834974657n;
const id = BigInt(twitterId);
const timestampMs = Number((id >> 22n) + TWITTER_EPOCH);
return {
date: new Date(timestampMs),
iso: new Date(timestampMs).toISOString(),
unixMs: timestampMs
};
}
// Tweet IDs
console.log(extractTwitterDate("1382350606417817604").iso);
// 2021-04-14T16:05:30.000Z
// User IDs (same formula)
console.log(extractTwitterDate("2244994945").iso);
// 2011-05-12T16:00:00.000Z (Twitter Dev account)
Example 3: Python Extractor
from datetime import datetime, timezone
TWITTER_EPOCH_MS = 1288834974657
def extract_twitter_date(twitter_id: int) -> datetime:
ts_ms = (twitter_id >> 22) + TWITTER_EPOCH_MS
return datetime.fromtimestamp(ts_ms / 1000, tz=timezone.utc)
# Tweet ID
print(extract_twitter_date(1382350606417817604))
# 2021-04-14 16:05:30+00:00
# User ID
print(extract_twitter_date(2244994945))
# 2011-05-12 16:00:00+00:00
Frequently Asked Questions
Yes, our Extract Creation Date From Twitter Id is completely free with no registration required. Use it unlimited times without any restrictions.
Yes, all processing happens locally in your browser. Your data never leaves your device and is not stored on our servers.
No installation needed. The tool works directly in your web browser on any device.
Enter your input, click the action button, and get instant results. Copy the output for use in your projects.