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
How the web server interprets php and interacts with the client?
What does php mean?
Tell me what is the difference between unset() and unlink()?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
Tell us what does $_cookie means?
How many different types of messages available in php?
What is the use of imagetypes() method?
What does csrf token mean?
Why overriding is called runtime polymorphism?
What is interface? Why it is used?
How to parse configuration file in php?
What is difference between required and require_once in php?
Do you know what is use of count() function in php?
When to use self over $this?
Tell me how can I display text with a php script?