31 weeks from saturday takes you to :
1st november by my reckoning
you should get EDD from 12 week and 20 weeks scan
that is presuming you have a 40 week pregnancy ! rather than 38 ( or 42 )
early scans are really quite accurate, so 1st november would be your EDD from the scan...