I want to calculate the difference of two given dates.For instance $day1=05/04/2007 and
$day2=02/01/2006 so I want to substract $day2 from $day2 and get the answer in days .what should I do

Recommended Answers

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.