The length of time that David stayed in Philistine territory amounted to a year and four months.