How dependable is the sun protection in moisturizers?

When a badly made moisturizer rubs off or disappears, the sun protection goes with it. Most large cosmetic companies formulate the sun protection in their moisturizers to withstand about two outdoor hours and at least eight indoor hours.