Hi, The DATEDIFF function is supposed to behave the same as the DATEDIFF function in MS SQL Server. It is counting the number of crossed boundaries. See also:
http://msdn.microsoft.com/en-us/library/aa258269%28SQL.80%29.aspx http://www.sqlhacks.com/index.php/Dates/DateDiff_Incorrect_Results I agree it's not very logical to calculate it like this. You are welcome to provide better functions. There is a feature request for "Support data type INTERVAL", I will increase the priority. Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
