CAST effective date to datetime
Merge pull request #179 from protich/feature/sortorder-revisited

CAST effective date to date time

Reviewed-By: Jared Hancock <jared@osticket.com>