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

Start and Interval
Count and Format
Print full date and time corresponding to Unix time.
Timestamp Base

Unix Time Generator Examples (click to try!)

Start of the Unix Epoch
This example uses the Unix Epoch time "Jan 1, 1970" as the starting time. This date is the starting point of the Unix time and it is zero. We set the timestamp interval to 1 day, which means that each point in time is incremented by 86400 seconds. We generate 31 timestamps for the first month of the Unix Epoch and separate the output seconds with commas. The last value 2592000 is Jan 31, 1970.
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
Generate Increasing Time
Start date and time. Format: YYYY-MM-DD HH:MM:SS.
Interval between timestamps. Format examples: "1year", "2mo 5d", "2h 3min 4s".
How many timestamps to generate?
Show Human Time
Separate timestamps with this symbol. (Newline by default.)
Decimal Base
Backward Posix Time
In this example, we generate the Posix time in reverse. We set the start time to 2002-02-21 15:10:05 and at every iteration decrease it by 6 years, 5 months, 4 days, 3 hours, 2 minutes, and 1 second. At the sixth step, we reach the Epoch but the time does not stop here – it continues into the negative timestamp territory and the seconds become a negative number. We create a vertical list of ten values and display human time next to each Posix timestamp.
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)
Generate Decreasing Time
Start date and time. Format: YYYY-MM-DD HH:MM:SS.
Interval between timestamps. Format examples: "1year", "2mo 5d", "2h 3min 4s".
How many timestamps to generate?
Show Human Time
Separate timestamps with this symbol. (Newline by default.)
Decimal Base
Jan 19, 2038
In this example, we're dealing with the Year 2038 problem. On January 19, 2038, at 03:14:07 UTC, all Unix systems that use 32-bit signed integers for measuring time will overflow. Luckily, we're not affected as we're using 64 bits that keep the time ticking. On affected systems, at 03:14:08, the time would overflow to -2,147,483,648 but we get 2,147,483,648, so all is fine.
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)
Generate Increasing Time
Start date and time. Format: YYYY-MM-DD HH:MM:SS.
Interval between timestamps. Format examples: "1year", "2mo 5d", "2h 3min 4s".
How many timestamps to generate?
Show Human Time
Separate timestamps with this symbol. (Newline by default.)
Decimal Base

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 pushed 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.