0 - 1 of 1 tags for #function

Hi,
 
I have the following SQL function and want to recreate it Teradata. Is this possible? Any suggestions welcome.
The function calcualtes the working days, excluding weekends and business holidays.
Thanks in advance,
Chris