I am due 2/2. How many weeks & days am I if the date is 1/1?

I dont really understand how pregnancy is calculated. Is it the day you turn 9 months that you are due or the last day of the 9th month?

placeholder text for bug in Chrome