1 Samuel 27:7 in the World English Bible
The number of the days that David lived in the country of the Philistines was a full year and four months.
Context
6 Then Achish gave him Ziklag that day: wherefore Ziklag pertaineth unto the kings of Judah unto this day.
7 And the time that David dwelt in the country of the Philistines was a full year and four months.
8 And David and his men went up, and invaded the Geshurites, and the Gezrites, and the Amalekites: for those nations were of old the inhabitants of the land, as thou goest to Shur, even unto the land of Egypt.