Except as otherwise provided by law, ordinances and resolutions which do not provide for their taking effect at a different time, take effect immediately upon adoption.