format('Y-m-d');
$time = $dateTimeSeoul->format('H:i:s');
// Create the Zonestamp link with current epoch time
$currentEpoch = time();
$zonestampLink = "https://zonestamp.toolforge.org/{$currentEpoch}";
// Display the message with formatted date, time, and Zonestamp link
echo "It is {$date} {$time} in Asia/Seoul
, where revi lives.
Check in your timezone: ZoneStamp.";
?>
Source code @ GitHub. (Warning: it is far from 'clean'.) Also, please note that there is only one correct way to write dates.