Pregnancy vs period

Has anyone had light spotting (when period was due) and found out they were pregnant instead? Bled 1-2 days... lightly. Mild cramping CD 45! Threw up the last 2 mornings...