Initial commit.
This commit is contained in:
parent
a9c913c9a7
commit
317e1b4e10
13 changed files with 260 additions and 0 deletions
19
timestamp/timestamp.php
Normal file
19
timestamp/timestamp.php
Normal 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));
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue