This tool converts a Unix timestamp into a readable date and time, and converts a date back into a timestamp, both ways at once. A Unix timestamp, also called epoch time, is the number of seconds that have elapsed since the first moment of 1 January 1970 in UTC, a simple running count that ignores time zones and daylight saving. Because it is just a single integer, it is the format computers prefer for storing and comparing moments in time, so you will find it throughout databases, log files, APIs, file metadata and programming languages. The trouble is that a number like 1700000000 means nothing to a human at a glance, which is exactly where this converter helps. You enter a timestamp in seconds and it shows you the corresponding moment in UTC and in your local New Zealand time, so you can account for the thirteen or twelve hour offset and daylight saving without doing the arithmetic yourself. Going the other way, you pick a date and time and it gives you the matching Unix timestamp, ready to paste into code, a query or a configuration. Both conversions update instantly as you type. This is invaluable for debugging: when a log shows an epoch value, you can read it in seconds; when an API expects a timestamp, you can produce one. A couple of notes worth knowing: most systems use seconds, but some use milliseconds, which are a thousand times larger, and the value shown is based on your device's own clock and time zone for the local readings. Everything runs in your browser.
Epoch time counts seconds since 1 Jan 1970 UTC. Local readings use your device's time zone. Some systems use milliseconds (1000x larger).
A Unix timestamp is multiplied by one thousand to get milliseconds, then turned into a date object, which is read out in both UTC and your local time zone. For the reverse, the date and time you pick is converted to milliseconds since 1970 and divided by one thousand to give the timestamp in seconds.
The timestamp 1700000000 converts to Tuesday 14 November 2023 at 22:13:20 UTC, which in New Zealand is the morning of 15 November. In milliseconds it is 1700000000000. Picking a date in the second field returns its own timestamp, so you can move freely in either direction.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
© 2019 to 2026 Calculate.co.nz. All rights reserved.