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 are the different loops in php?
What are the advantages of using php?
How to split a string into array using php?
Can I learn php without knowing c?
What is the difference between $message and $$message in php?
List functions available to sort an php array?
Where sessions stored in PHP?
what is benefit of magento?
How do you remove duplicates from an array?
What is the maximum size of a database in mysql?
Does php use html?
How to retrieve the original query string?
If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
Explain what does $_files means?
How would you determine the size of a file in php?