try this, your sign is backwards and you only want to pull the date, not the date and time:
where datepart(mydate)<'01Aug2013'd;
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!