I think Santa Cruz beaches are closed from 11:00 AM to 5:00 PM now, but locals can go at other times.
I've always heard that the most likely time to get bitten is mornings and evenings. How to Avoid Shark Attacks