You'll want to spend at least 3 days in San Diego but I recommend a whole week. Expect to spend 2-3 days in good weather at the beach or doing water activities and the rest of the week exploring attractions or hiking. If you're doing a one day trip I recommend visiting Balboa Park half the day and the zoo half the day. Then watch the sunset on your way out of town.