The UNIX timestamp is an integer that represents the number of seconds elapsed since January 1, 1970. How To Get Timestamp In Javascript On UNIX-like machines, which include Linux and macOS, you can type the date +%s in the terminal and get the UNIX timestamp back. You can fetch the current timestamp by calling now () method on Date object.

3274

31 Jan 2018 The standard Unix epoch is an expression in seconds. The Unix epoch or Unix time is the number of seconds elapsed since January 1, 1970.

http://www.javascript-page.com/clock.html - Ful, men är vad du söker. Exempel på det senare med UNIX timestamp: http://henrik.nyh.se/  package main; import (; "fmt"; "math/rand"; "time"; ); var shortcodeType string; func nowEpochSeconds := time.Now().Unix(); shortcode := fmt.Sprintf("%d"  kWidget){return;}var kWidget={startTime:{},loadTime:{},readyWidgets:{},widgetOriginalSettings:{} kWidget.js";document.write('