“And Joshua rose early in the morning; and they removed from Shittim, and came to Jordan, he and all the children of Israel, and lodged there before they passed over.”
Which according to the Hebrews was in March, and about 40 days after Moses’ death.