<?php
echo "Now: ", $now = strtotime("now"), "\n";
echo "Then: ", $then = strtotime("now -20 years"), "\n";
echo $now2 = strtotime("now +1 year"), "\n";
echo $then2 = strtotime("now -19 years"), "\n";
echo "Dif 1 ", $now-$then, "\n";
echo "Dif 2 ", $now2-$then2, "\n";
- Output for 5.5.0 - 5.5.32, 5.5.34 - 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.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Now: 1453300464
Then: 822148464
1484922864
853770864
Dif 1 631152000
Dif 2 631152000
- Output for 5.5.33
- Now: 1453300465
Then: 822148465
1484922865
853770865
Dif 1 631152000
Dif 2 631152000
preferences:
246.91 ms | 401 KiB | 330 Q