Add Copy Timestamp
A button that will copy the current timestamp has been added.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
"<br><span>".
|
||||
"<p id='time_body'>".
|
||||
date("D, M d, Y, H:i:s") .
|
||||
"</p><p> GMT". date("O T") ."</p>\n\t\t</span>";
|
||||
"</p><p> GMT". date("O T") ."</p><button onclick='copy_timestamp()'>Copy Timestamp</button>\n\t\t</span>";
|
||||
if($_POST['originalTZ']){// if the user want display the browser detected timezone as well as the selected one.
|
||||
date_default_timezone_set($originalTZ);
|
||||
echo'<h3>Time in original Timezone</h3>'.
|
||||
|
||||
Reference in New Issue
Block a user