O
O
Optimus2015-11-19 17:24:40
PHP
Optimus, 2015-11-19 17:24:40

Days between two dates?

There are two dates in the format: How to optimally calculate the number of days between them? (taking into account the fact that a leap year is possible)
date("Y-m-d");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vit, 2015-11-19
Pyan @marrk2

php.net/manual/en/datetime.diff.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question