How many week(s) were spent in digging the trench in the Ghazwa-e-Khandaq?

How many week(s) were spent in digging the trench in the Ghazwa-e-Khandaq?

غزوا خندق میں خندق کھودنے میں کتنے ہفتے گزارے تھے؟
Explanation

The Battle of Khandaq (Ahzab) was fought on 5 A. H (627).

Ghazwa e Ahzab and Battle of the Trench is the second name of Ghazwa-e-Khandak 

Muslims 3000

Kufar 10000

10000 Munafiqeen were in Ghazwa-e-Khandaq


Additional information:

 it was the 30-day-long fight of Yathrib by Arabian and Jewish tribes

Hazrat Salman Al-Farsi suggests digging the trench at the time of the Battle of Khandaq

***