Wrote a custom report to find 'deleted' workstations.

I want to narrow my search to a specific date. When I add the search
criteria to sort by date I receive the following error:

The data you requested is not available.
Details: [Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error
converting datetime from character string.