If you were given two dates, that is start date and end date and You want to find the difference between two dates in PHP.
Its very simple and easy to calculate the difference between two dates.
Read More
If you were given two dates, that is start date and end date and You want to find the difference between two dates in PHP.
Its very simple and easy to calculate the difference between two dates.
Read More
For further actions, you may consider blocking this person and/or reporting abuse
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
Rivka -
Lior Amsalem -
Ahmad Tibibi -
Ahmad Tibibi -
Top comments (2)
Use this function, this will give you exact duration between to timestamps. Make sure the start point is in UNIX timestamp format.
A simple trick is to convert dates to timestamp and then subtracting, you'll get difference in seconds.
$date_stamp = strtotime($date);
Another option is date_diff
php.net/manual/en/function.date-di...