Period cramps but got pregnant ?

Did anyone get period-like cramps 2 days before period was due but period never came and turned out to be pregnant ?