[Babase] Date convert command for season and hydrological year?

Karl O. Pinc kop at meme.com
Tue Sep 7 12:03:01 EDT 2010


On 08/27/2010 03:53:21 PM, Susan Alberts wrote:
> 
> 
> On Aug 27, 2010, at 10:23 AM, Karl O. Pinc wrote:
> 
> >
> > It occurs to me that I should have the functions
> > take a text argument in addition to either a
> > date or a timestamp.  That way one could write:
> >
> > SELECT hydroyear('2010-08-27');
> >
> > instead of having to write:
> >
> > SELECT hydroyear('2010-08-27'::date);
> >
> > It's not like people will be writing in dates
> > very often, but it's handy for testing and will
> > only take a moment.  I don't have a moment right
> > now and it will probably have to wait a week.
> 
> OK this sounds good to me, can you let us know when you do it and in  
> the meantime we will use as is.

Ok. Done.




Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein




More information about the Babase mailing list