Help????

To do the Chinese gender prediction, do I go by the month I had my lmp or the month I ovulated?

So my last period was December but according to glow I ovulated in January