diff --git a/time.php b/time.php index 7286284..9b625c0 100644 --- a/time.php +++ b/time.php @@ -1,70 +1,4 @@ - - - - -Hey revi, what time is it for you? - - - - - - - - - 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.

-

Also another small note: the clock here uses 24 hours notation.

- - +header('Location: https://revi.xyz/time/'); +exit();