You need to convert month into dates using start() , then get the minumum date in another line item, then get month back using period()
here l1,l2,l3 are your month time formatted line items, get minimum date in min date which is date formatted, then convert date to month using period function
attaching blueprint