Timestamp Calculator
Perform calculations with Unix timestamps — add or subtract seconds, minutes, hours, or days. Enter a timestamp and see all its representations, then use the relative time output to understand time differences. Perfect for calculating token expiry, scheduling offsets, and debugging time-based logic.
Frequently Asked Questions
›How do I add time to a timestamp?
Enter a timestamp, note its value in seconds, then add the desired offset: +60 for one minute, +3600 for one hour, +86400 for one day. Enter the resulting number to see the new date.
›How do I find the difference between two timestamps?
Subtract the smaller timestamp from the larger one. The result is the difference in seconds: divide by 60 for minutes, 3600 for hours, or 86400 for days.
›What about leap seconds?
Unix timestamps do not account for leap seconds — each day is always exactly 86400 seconds. This is by design and matches how most programming languages handle time.