Question : How long are most people's visits to San Francisco when they fly in from Bari?
Answer : Of course you're not most people, but if you were, you'd stay roughly 31 days.
Question : Is price more important than specific travel days for you?
Answer : Tuesday is your lowest-cost day to fly in February. Having flexibility in your travel plans means you can save, so be sure to plan ahead when possible.