Get a UNIX timestamp with Javascript
The Javascript Date object has a number of functions for working with dates and times. The getTime() method returns the millisecond representation of the Date object and this post shows how to convert this to a UNIX timestamp.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed