Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
var d = DateTimeOffset.FromUnixTimeSeconds(ts).UtcDateTime;
var d = new DateTime.fromMillisecondsSinceEpoch(ts, isUtc: true);
Timestamp = {Seconds div 1000000, Seconds rem 1000000, 0},
calendar:now_to_universal_time(Timestamp).
new Date (ts * 1000)
$d = DateTime::createFromFormat('U', $ts);