Current timestamp: 1503079237

Countdown to: 1503100000

Convert timestamp

Convert date

JavaScript Quick Examples

Following page provides examples for JavaScript how to convert date, time, and timestamp among each other. There are also some links to additional documentation, so you can learn more about the topic.

How To Get Current Timestamp in JavaScript

new Date().getTime()/1000;

How To Convert Timestamp to Date in JavaScript

new Date(1.503079237E+12).toLocaleString();

How To Convert Date to Timestamp in JavaScript

Date.parse("2017-08-18 20::00:37")/1000;

Great example for Java!!!
This website uses cookies to ensure you get the best experience on our website. More info