Unix Timestamp 1540100400
seconds · 7 years ago
⚡ Quick Answer
1540100400 = Oct 21, 2018, 05:40:00 AM UTC
ISO 8601: 2018-10-21T05:40:00.000Z
Output Formats
ISO 8601
2018-10-21T05:40:00.000Z
RFC 2822
Sun, 21 Oct 2018 05:40:00 GMT
Human Readable
Sunday, October 21, 2018 at 05:40:00 AM UTC
Unix Seconds
1540100400
Unix Milliseconds
1540100400000
Day of Week
Sunday
Timezone Breakdown
UTC
Oct 21, 2018, 05:40:00 AM UTC
US Eastern
Oct 21, 2018, 01:40:00 AM EDT
US Pacific
Oct 20, 2018, 10:40:00 PM PDT
UK London
Oct 21, 2018, 06:40:00 AM GMT+1
Japan Tokyo
Oct 21, 2018, 02:40:00 PM GMT+9
Australia Sydney
Oct 21, 2018, 04:40:00 PM GMT+11
Related Timestamps
Frequently Asked Questions
What date is Unix timestamp 1540100400?
Unix timestamp 1540100400 represents Sunday, October 21, 2018 at 05:40:00 AM UTC. This is 7 years ago from the current time.
Is 1540100400 in seconds or milliseconds?
1540100400 has 10 digits, which means it is in seconds. Multiply by 1,000 to get milliseconds: 1540100400000.
How do I convert 1540100400 in JavaScript?
// Normalized to Unix seconds: 1540100400 const tsSec = 1540100400; new Date(tsSec * 1000).toISOString(); // "2018-10-21T05:40:00.000Z"
How do I convert 1540100400 in Python?
import datetime
ts = 1540100400
dt = datetime.datetime.fromtimestamp(
ts, tz=datetime.timezone.utc)
print(dt.isoformat())
# "2018-10-21T05:40:00.000Z"What is the Unix timestamp for right now?
Use our live timestamp converter to get the current Unix timestamp. In JavaScript: Math.floor(Date.now() / 1000). In Python: int(time.time()). In bash: date +%s.
Need to convert a different timestamp?
Our full converter supports seconds, milliseconds, microseconds, 25+ timezones, and auto-detection.
Open Full Converter →Related Guides & Tutorials
// developers also readComplete Guide to Unix Timestamp Precision in 2026
The definitive guide to Unix timestamp precision, formats, and edge cases in production.
Unix Timestamps in JavaScript
Date.now(), the Temporal API, and timezone-aware timestamp handling in JavaScript.
Session Management with Timestamp Expiration
JWT expiration, session timeouts, and token refresh using Unix timestamps.