Subject RE: [firebird-support] UDF weekofyear
Author Alan McDonald
> The UDF-library rfunc has a function called DateToStr(d, %W) which
> calculates the week based upon Monday first day of week, but
> unfortunately return a string instead of a smallint.
> Is there a good UDF library which can calculate the 'correct'
> WeekOfYear?
> Thanks in advance,
> Arno Rog
> Amsterdam

Can you not CAST the string return as an integer?