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
What does type casting mean in php? Explain with an example?
What's the output of the ucwords function in this example?
Why do we use php?
How php statement is different from php script?
What is a simple php method to make a cross domain data request?
what are the differences between php and perl
Why are sessions used?
How to get the total number of values in an array?
Explain what does $_files means?
What does it mean when it says the csrf token is invalid?
When is a conditional statement ended with endif?
What are Routines?
What are the rules to declare a php variables?
How to create a text file in PHP?
Can you explain, when to use if-else if-else over switch statements?