Can you tell a way to know the number of days between the two given dates in php?
Answer Posted / 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 View All Answers