This page provides a Unix Epoch timestamp converter. You can convert Unix Epoch timestamps to formatted date strings and vice versa. This converter uses the Moment.js JavaScript library (version 2.24.0) available at https://momentjs.com/. The first box below shows the current Unix Epoch timestamp and the current local date. These two values are refreshed every 5 seconds.
Convert from a Local Date to a Unix Epoch Timestamp
Enter a local date using the input controls and then click on the Convert button to convert it to a Unix Epoch timestamp in milliseconds.
Convert from a Unix Epoch Timestamp to a Local Date
Enter a Unix Epoch timestamp in milliseconds and select a date format from the auto-complete control or enter your own (see list of supported tokens in next section). Then click on the Convert button to get the formatted local date.
Partial List of Supported Tokens for Date Formats
For a full list of supported date formats tokens, refer to the Moment.js documentation and ISO 8601. You can enter your own pattern in the Date Format auto-complete control.