Difference between revisions of "User:Infinity"

From Armagetron
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
 +
<?php
 +
    $waiting_day = 1637210196;
 +
    $time_left = $waiting_day - time();
  
 +
    $days = floor($time_left / (60*60*24));
 +
    $time_left %= (60 * 60 * 24);
 +
 +
    $hours = floor($time_left / (60 * 60));
 +
    $time_left %= (60 * 60);
 +
 +
    $min = floor($time_left / 60);
 +
    $time_left %= 60;
 +
 +
    $sec = $time_left;
 +
 +
    echo "Remaing time: $days days and $hours hours and $min min and $sec sec left";
 +
?>

Revision as of 17:45, 22 December 2021

<?php

   $waiting_day = 1637210196;
   $time_left = $waiting_day - time();
   $days = floor($time_left / (60*60*24));
   $time_left %= (60 * 60 * 24);
   $hours = floor($time_left / (60 * 60));
   $time_left %= (60 * 60);
   $min = floor($time_left / 60);
   $time_left %= 60;
   $sec = $time_left;
   echo "Remaing time: $days days and $hours hours and $min min and $sec sec left";

?>