Jump to content


Photo

Date diff


  • Please log in to reply
1 reply to this topic

#1 shan_cool

shan_cool
  • Members
  • PipPipPip
  • Advanced Member
  • 53 posts
  • LocationChennai,India

Posted 30 March 2006 - 04:02 AM

Hi,

Will Date Diff work in MySQL 3.23.58,if so can u please tell me the syntax.

Thanks in advance,
shan





#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 30 March 2006 - 07:27 AM

Was it really that hard to check? <sigh> No, it was added in 4.1 -- you'll have to use the TODAYS() function and subtract each piece manually; that's all DATEDIFF() does anyway.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users