write code to find the date difference b/w two given date
using PHP not MYSQL function?
Answer Posted / vipul dalwala
$noofdays = ceil(((strtotime($endDate) - strtotime
($startDate)) / (60*60*24)))
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Tell me how would you declare a function that receives one parameter name hello?
What are the uses of explode() function?
/temp is a type of filesystem directory. State Whether True or False?
Are sessions stateless?
What is Apache's configuration file typically called?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
What is env in laravel?
What was the old name of php?
How are variables declared in php?
What is ci in php?
What is rest api in php?
What is c++ polymorphism?
Explain the ternary conditional operator in php?
What is string and its function?
What is difference between static and constant in php?