Following is a response from DHS staff member, Tom Pullum:
The recode manual for DHS-8 will appear soon. I recommend that you enter "tab p20 p32" and "p21 p32". The first will show you that p20 is measured in months, and p21 is measured in weeks if the first digit of p21 is 1, and months if the first digit is 2. p20 a recode of p21. Many DHS variables for time have this structure. p21has a 3-digit code, in which the first digit gives the units and the second and third digits give the number (of weeks or months).