quantlib.time.imm.next_date

next_date(code_or_date, bool main_cycle=True, Date reference_date=Date())

Next IMM date following the given date

returns the 1st delivery date for next contract listed in the International Money Market section of the Chicago Mercantile Exchange.