How can we know the number of days between two given dates
using PHP?
Answer Posted / richa
Something we must know about strtotime
(try putting up a date grater than 30 years)
yes it will give an unexpected output, because it uses, unix
timestamp, and thus doesnt treat a date greater than 30 yrs,
as a correct value.
Amazing but true
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain what does the unset() function means?
Define urlencode() and urldecode() used in php?
What PHP stands for?
What does php exit do?
What is session data?
What is the difference between indexed and associative array?
What are the advantages of indexes in php?
Does php have multiple inheritance?
What is the difference between associative array and indexed array?
What is new keyword in php?
Explain the installation of PHP on UNIX systems?
How to remove an empty directory?
What is composer install?
When to use single quotes, double quotes, and backticks?
What is namespaces in PHP?