Cast created_by to date