Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the common uses of php?

1112


How to connect to a url in php?

1008


What is htmlentities function in php?

968


Does php support multithreading?

1070


Describe session in php.

1069


What php framework does wordpress use?

1031


How to run a php script?

1021


What is the use of anonymous function in php?

989


Name and explain five of the PHP error constants?

961


What is $_ request?

990


What is the apache?

957


Which function you can use in php to open a file for reading or writing or for both?

1104


What are computer variables?

957


What are the difference between array_keys() and array_key_exists() in php?

1083


Is php a web server?

1002