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
What are the common uses of php?
How to connect to a url in php?
What is htmlentities function in php?
Does php support multithreading?
Describe session in php.
What php framework does wordpress use?
How to run a php script?
What is the use of anonymous function in php?
Name and explain five of the PHP error constants?
What is $_ request?
What is the apache?
Which function you can use in php to open a file for reading or writing or for both?
What are computer variables?
What are the difference between array_keys() and array_key_exists() in php?
Is php a web server?