A horizontally placed spring mass system has time period T. The same system is now placed on a car moving with acceleration a in horizontal direction. Then,
In case of spring block system, time period does not change because restoring force is still kx.