Implementation
Erlang

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating resource.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
import std.datetime, std.stdio;
auto d = SysTime(unixTimeToStdTime(ts), UTC());
var d = new DateTime.fromMillisecondsSinceEpoch(ts, isUtc: true);
import "time"
d := time.Unix(ts, 0)
require 'date'
d = DateTime.strptime(ts, '%s')
import java.util.Date;
Date date = new Date(numberOfSecondsSinceEpoch  * 1000);
SysUtils
var
  D: TDateTime;
  TS: TTimeStamp;
begin
  D := TimeStampToDateTime(TS);
end.
import datetime
d = datetime.date.fromtimestamp(ts)
extern crate chrono;
use chrono::prelude::*:
let d = NaiveDateTime::from_timestamp(ts, 0);
$d = DateTime::createFromFormat('U', $ts);
new Date (ts * 1000)