Hi,
> I would like to create a mySQL function 'SchoolYear' which gets a date
> and returns the year based on a certain cycle-cut-off date (one other
> than December 31, naturally0)
You should perhaps write this function more generalized, if I understand
what you are aiming for correctly, it could also be used for determining
fiscal years, and other similar things.
> I don't program in C (i do some Perl), but I would like to give it a
> shot, either by:
>
> 1) adding this function to the source and thus hard-coding it
I would say to go with this option. As long as you write quality,
generalized code, there is a good chance of it being included in the main
distribution.
On the technical side of things, I can't comment, but I know one of my
colleagues will answer you there.
Regards,
Jeremy
--
For technical support contracts, go to https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Jeremy Cole <jeremy@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer
/_/ /_/\_, /___/\___\_\___/ Clarksville, Tennessee USA
<___/ www.mysql.com