There's no fixed duration. Bans can run anywhere from a few minutes to an hour, or stretch into days and weeks depending on how much boosting took place.
If you see the message that your online credits have been reached, treat it as a warning and stop there. Pushing on can escalate things to a 24-hour ban, or a week if it's happened before.
Clock-change workarounds circulate online, but they violate the terms of service and Bungie can act on them. In practice, boosting rarely goes unnoticed for long, and the amount you boosted in a given period is what determines the length of any ban — so the safest approach is simply not to boost.