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 is a php certification?
How to create an array from php string?
Which is not a file-related function in php?
Tell me how is it possible to parse a configuration file?
List the different types of print functions available in php?
What are html entities?
Do you know how to enable error reporting in php?
What is session expiry?
Tell me how can we determine whether a variable is set?
Which is true about the singleton design pattern?
What is the purpose of pear in php?
Does php 7 support multiple inheritance?
What is lazy loading in php?
What is difference between action hook and filter hook?
Does php 5 support exceptions?