<?php $today = new DateTime();$date = new DateTime('2022-05-25'); $interval = $today->diff($date);echo $interval->format("%r%a");
Standard input is empty
-41
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!