How to Get a Timestamp in JavaScript | CodeTrail