At 1:20 PM +0200 7/26/99, Martin Ramsch wrote:
>On Sa, 1999-07-24 10:18:21 -0500, Paul DuBois wrote:
>> SELECT
>> BENCHMARK(1000000,
>> year(FROM_DAYS(TO_DAYS("1999-7-24")-TO_DAYS("1972-1-1"))));
>> SELECT
>> BENCHMARK(1000000,
>> FLOOR((TO_DAYS("1999-7-24")-TO_DAYS("1972-1-1"))/365.25));
>
>Am I right and this funtion is missing in the manual?
>
>I just found a small note in chapter "19.3.5 Changes in release
>3.22.15" reading:
>| * Added BENCHMARK(loop-count,expression) function to time expressions.
It's in chapter 7 under miscellaneous functions.
--
Paul DuBois, paul@stripped