How to calculate minute difference between two date-times in PHP?
Subtract the times and divide by 60.
Here is an example which calculate elapsed time from 2019/02/01 10:23:45 in minutes:
2019/02/01 10:23:45
$diff_time=(strtotime(date("Y/m/d H:i:s"))-strtotime("2019/02/01 10:23:45"))/60;