Forum:Junk gardna help

my friend and I were dueling. However, he summoned out a junk gardna mid game. He used its effect during my attack the weird thing is neither one of us knows if you can activate it's effect during the battle phase. The question is Can it do it on the battle phase? Please answer this question please.