On Friday 15 September 2006 7:15 am, Robert Enyedi wrote: > The TO_DAYS() function returns the number of days since year 0. Did > someone successfully port this functionality to Derby? Constructing a > Java function for this is not as straightforward as it looks. > > Regards, > Robert Why?
When was year 0? Just because you see a function in MySQL, doesn't mean that its a good thing or that it has value. Everytime you "add" a function, you're increasing the footprint of Derby. To some this isn't an issue. To others who wish to embed Derby within an Applet/Servlet/whatever... This is not a good thing.