Initial commit.

This commit is contained in:
Johannes Findeisen 2024-02-07 09:27:22 +01:00
commit 317e1b4e10
13 changed files with 260 additions and 0 deletions

19
timestamp/timestamp.php Normal file
View file

@ -0,0 +1,19 @@
---
permalink: /cgi/timestamp/
---
<?php
session_start();
session_set_cookie_params(3600);
date_default_timezone_set("{{ site.timezone }}");
$timestamp = date('Y.m.d-h:i:s', time());
$milliseconds = floor(microtime(true) * 1000);
#echo($timestamp . "_" . time() . "_" . $milliseconds);
header('Content-Type: text/plain');
echo($timestamp . '.' . microtime(true));
?>