If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Problem with DATEDIFF function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-04, 02:08
callmubashar callmubashar is offline
Registered User
 
Join Date: Jul 2004
Posts: 1
Question Problem with DATEDIFF function

Hi All,
I am facing a problem with DATEDIFF function, the query is as follows:

SELECT DATEDIFF( '1997-12-31 23:59:59', '1997-12-30' )

I tested this query with 4.0.20 and upper version but all in vain.
Please help me in this regard or suggest me another substitute of this function.

Thanks,
Mubashar
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On