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 do I install php and apache on windows 10?
What is the use of "enctype" attribute in a html form?
Is laravel easy to learn?
How to redirect a url from http to https in .htaccess?
Can we use php variable in javascript?
Which function would you use to read a line of data from a file in php?
What is good average session duration?
Explain do you use composer? If yes, what benefits have you found in it?
Tell me what is the default session time in php?
Php says that an array is an ordered map. But how the values are ordered in an array?
Tell me what is htaccess?
When sessions ends?
What is php ci?
How arrays are used in php?
Explain me is multiple inheritance supported in php?