Most credit cards offer up to 45 days of an interest-free period to cardholders to pay their dues. We explain how it works.