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 is mvc php?
Is php better than java?
What is cakephp framework?
How to write php function in html onclick?
Do you know how to enable error reporting in php?
Are parent constructors called implicitly inside a class constructor?
How to execute a function in php?
Is php still in demand?
Write a program in php to reverse a number?
How do I display php errors?
What is php default argument?
How to read a file in php?
Code to upload a file in PHP?
How can you execute php script from the command line?
Does https prevent csrf?