which function used to get the number of days between two
given dates in php
Answer / silambu_irtt
<?php
$days = (strtotime("2005-11-26") - strtotime("2005-11-20"))
/ (60 * 60 * 24);
print $days;
?>
This code print number of days between two dates
| Is This Answer Correct ? | 12 Yes | 1 No |
How to use http headers inside php?
How can I get the only name of the current executing file?
What are the main error types in php?
What is php crud api?
Explain me what is the goto statement useful for?
Is gender a dependent variable?
•How to upload files using PHP?
What is ci framework in php?
armstrong number by using php while number is given by the keyboard.?
What is the use of array_count_values() in php?
How to get ip address of clients machine?
What is asort php?