Thousands of tools! Check out Online Tools – I have now added thousands of tools.
I often have to generate a sequence of UNIX timestamps so I created this simple online utility that does it for me. It lets you generate however many POSIX times you need starting from any point in time with any time interval between the timestamps. It works in the browser and is powered by alien technology from the future.
Unix Time Generator Options
Unix Time Generator Examples (click to try!)
0, 86400, 172800, 259200, 345600, 432000, 518400, 604800, 691200, 777600, 864000, 950400, 1036800, 1123200, 1209600, 1296000, 1382400, 1468800, 1555200, 1641600, 1728000, 1814400, 1900800, 1987200, 2073600, 2160000, 2246400, 2332800, 2419200, 2505600, 2592000
1014304205 (2002-02-21 15:10:05) 811339684 (1995-09-17 12:08:04) 608461563 (1989-04-13 09:06:03) 405669842 (1982-11-09 06:04:02) 202791721 (1976-06-05 03:02:01) 0 (1970-01-01 00:00:00) -202964521 (1963-07-27 20:57:59) -405583442 (1957-02-23 17:55:58) -608547963 (1950-09-19 14:53:57) -811426084 (1944-04-15 11:51:56)
2147483640 (2038-01-19 03:14:00) 2147483641 (2038-01-19 03:14:01) 2147483642 (2038-01-19 03:14:02) 2147483643 (2038-01-19 03:14:03) 2147483644 (2038-01-19 03:14:04) 2147483645 (2038-01-19 03:14:05) 2147483646 (2038-01-19 03:14:06) 2147483647 (2038-01-19 03:14:07) 2147483648 (2038-01-19 03:14:08) 2147483649 (2038-01-19 03:14:09) 2147483650 (2038-01-19 03:14:10) 2147483651 (2038-01-19 03:14:11)
How Does This Unix Time Generator Work?
This UNIX Epoch time generator works entirely in your browser and is written in JavaScript. It generates timestamps through the standard built-in Date
object. First, the starting date and time is read from the options and converted to the number of seconds
since January 1, 1970, 00:00:00 via the Date.UTC(year, month, day, hour, minute, second)
method. Then, the seconds
variable is used to create a new date
object by calling new Date(seconds)
, which is useful for finding the full human-readable date and time string of the timestamp, such as "2025-01-02 13:14:15". To generate an increasing or decreasing sequence of timestamps, it adds or subtracts the interval
value to/from the date
object. The interval
value is parsed into years, months, days, hours, minutes, and seconds components and then they are added or subtracted to/from the values returned from date
object functions getUTCFullYear()
, getUTCMonth()
, getUTCDate()
, getUTCHours()
, getUTCMinutes()
, getUTCSeconds()
. Then the new date and time values are passed to Date.UTC()
function again and the new seconds
value is found. If multiple timestamps are needed to be generated, the program repeats the above algorithm as many times as specified in the option count
. Along the way, each seconds
value is also converted to the selected base
. The base conversion is done by loading the bignumber.js
library and using the new BigNumber(seconds).toString(base)
function call. The computed timestamps are push
ed to the timestamps
array and once it's filled, they are prepared for the output by converting them to a string format via the timestamps.join(separator)
call. The final string is then printed in the output text box.
Created by Browserling
This unix time generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our web developer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!
Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company.