A Unix timestamp is a number representing seconds since the Unix epoch. PHP date functions can format it directly.
Code examples
$timestamp = 1719820800;
echo date('Y-m-d H:i:s', $timestamp);
With DateTimeImmutable:
$date = (new DateTimeImmutable())->setTimestamp($timestamp);
echo $date->format('c');
Common errors
JavaScript timestamps are milliseconds. PHP timestamps are usually seconds. Mixing them is the most common conversion bug.
Related tool
Try the PHP Timestamp Converter.