SyntaxFix
Write A Post
Hire A Developer
Questions
Another way - from an ISO 8601 date.
var timestamp = 1293683278;_x000D_ var date = new Date(timestamp * 1000);_x000D_ var iso = date.toISOString().match(/(\d{2}:\d{2}:\d{2})/)_x000D_ alert(iso[1]);