Ordinances and resolutions which do not provide for their taking effect at a different time, shall take effect immediately after their passage, or as otherwise provided by law.