<?php
echo "Now: ", $now = strtotime("now"), "\n";
echo "Then: ", $then = strtotime("now -20 years"), "\n";
echo "400 years ago: ", $now2 = strtotime("now -400 years"), "\n";
echo "420 years ago: ", $then2 = strtotime("now -420 years"), "\n";
echo "Dif 1: ", ($now-$then) / 60 / 60, " hours\n";
echo "Dif 2: ", $dif2 = ($now2-$then2) / 60 / 60, " hours\n";
echo "Simple: ", $simple = 20*365*24, " hours\n";
echo "Dif1 to dif2 ", $dif1 - $dif2, "hours\n";
echo "Dif1 to simple ", $dif2 - $simple, "hours\n";
- Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
- Now: 1453302665
Then: 822150665
400 years ago: -11169475707
420 years ago: -11800627707
Dif 1: 175320 hours
Dif 2: 175320 hours
Simple: 175200 hours
Dif1 to dif2
Warning: Undefined variable $dif1 in /in/iCUMH on line 11
-175320hours
Dif1 to simple 120hours
- Output for 8.0.13
- Now: 1453302665
Then: 822150665
400 years ago: -11169478135
420 years ago: -11800630135
Dif 1: 175320 hours
Dif 2: 175320 hours
Simple: 175200 hours
Dif1 to dif2
Warning: Undefined variable $dif1 in /in/iCUMH on line 11
-175320hours
Dif1 to simple 120hours
- Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
- Now: 1453302665
Then: 822150665
400 years ago: -11169475707
420 years ago: -11800627707
Dif 1: 175320 hours
Dif 2: 175320 hours
Simple: 175200 hours
Dif1 to dif2
Notice: Undefined variable: dif1 in /in/iCUMH on line 11
-175320hours
Dif1 to simple 120hours
- Output for 7.3.32 - 7.3.33
- Now: 1453302665
Then: 822150665
400 years ago: -11169478135
420 years ago: -11800630135
Dif 1: 175320 hours
Dif 2: 175320 hours
Simple: 175200 hours
Dif1 to dif2 -175320hours
Dif1 to simple 120hours
preferences:
214.25 ms | 402 KiB | 331 Q