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
nishanthaMe
0
Newbie Poster
Recommended Answers
Jump to PostYou have a mysql function which does exactly this you know?
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html
All 2 Replies
Reply to this topic
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.