Since you can't use the "ww" format for input, I would write a pl/sql function.
Jeff Hunter
Forum Rules