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...


Can you tell a way to know the number of days between the two given dates in php?



Can you tell a way to know the number of days between the two given dates in php?..

Answer / Ravi Kumar Arya

In PHP, you can use the date_diff() function or DateTime objects to calculate the difference between two dates. Both approaches will return a DateInterval object containing information about the number of days and other time units.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

How to use rank function in mysql?

1 Answers  


Why we use mongodb instead of mysql?

1 Answers  


If you specify the data type as DECIMAL (5,2), what?s the range of values that can go in this table?

2 Answers  


What is difference between function and procedure in mysql?

1 Answers  


What are federated tables?

1 Answers  


How can you make a database as your current database?

1 Answers  


What is indexing in mysql?

1 Answers  


How do I get a list of table names in mysql?

1 Answers  


How do I backup mysql database on linux?

1 Answers  


what is the procedure to configure the application of mysql?

1 Answers  


Is mysql good for big data?

1 Answers  


How to create a new table in mysql?

1 Answers  


Categories