@ 2015-12-15T16:30:21Z <?php
$today = new DateTime("now");
$date_end = new DateTime('2016-12-15');
$interval = $today->diff($date_end);
echo $interval->days;
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 5.6.28 , 7.0.20 , 7.1.0 - 7.1.20 , 7.2.0 - 7.2.33 , 7.3.16 - 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.4 , 8.3.6 365 Output for 8.3.5 Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
365 Output for 7.0.6 207 Output for 7.0.5 255 Output for 7.0.4 279 Output for 7.0.3 271 Output for 7.0.2 266 Output for 7.0.1 265 Output for 7.0.0 262 Output for 5.6.21 226 Output for 5.6.20 248 Output for 5.6.19 281 Output for 5.6.18 274 Output for 5.6.17 269 Output for 5.6.16 261 Output for 5.6.15 260 Output for 5.6.14 244 Output for 5.6.13 243 Output for 5.6.12 238 Output for 5.6.11 234 Output for 5.6.10 233 Output for 5.6.9 231 Output for 5.6.8 228 Output for 5.5.35 205 Output for 5.5.34 247 Output for 5.5.33 280 Output for 5.5.32 272 Output for 5.5.31 268 Output for 5.5.30 257 Output for 5.5.29 241 Output for 5.5.28 237 Output for 5.5.27 236 Output for 5.5.26 232 Output for 5.5.25 229 Output for 5.5.24 204 preferences:dark mode live preview
179.78 ms | 401 KiB | 183 Q