select SO by date