Cramps in night only due in 6 days

For past few days i been getting cramps like period pains but only getting them in the night im due on 23rd june anyone else only get these just in the night and know why