I don't think you can do it really from the due date, best guess is from the date of your LMP, but then it will still only be a guess as it can take days from conception to implantation and so on!
I knew the exact date i had sex, and the drs still won't use that date as it can take a while to 'conceive'. They use my LMP date.
Congratulations on your pregnancy xxx