pwFormatDate not working

I was writing a very simple report that I am trying to format the Sage 300 date for and I get an error.  Does anyone know how to fix this or a different more reliable way to format Sage300 date fields.

I tried using:

pwFormatDate ({CPEMPL.HIREDATE})

the error I get is

"There is an error in this format.   Do you want to save it anyway?"

I can open one of Sage's default reports - for example the deposit slip and I see that they have the deposit date field with the same format and it works

pwFormatDate ({BKTRANH.TRANSDATE})

I find hits that the u21capw.dll file is missing - but where would I get this from and where would it be placed.  I am running Crystal Reports 11