There's no NEED to switch them to layer until they actually lay. Layer feed is very similar to grower, except that is dosed with high amounts of calcium, only needed by a laying hen.
18 weeks is plenty early to provide layer, if you find yourself between bags of feed. Many breeds don't start...