MAGI Lump sum Date for Healthcare APTC with a 401k to Roth 401k conversion

When doing a 401k to Roth 401k conversion,  what month does is lump sum become part of your MAGI do determine  Healthcare APTC or Medicaid?  Is it January or December of the year conversion ?