Magistrate Maizatul Munirah Abd Rahman handed down the sentence on Lim Chin Seng, 40, who pleaded guilty to the charge.
He was ordered to serve the jail sentence from the date of his arrest which was last Jan 1.
Lim, who has a child was charged with voluntarily causing grievous hurt on 64-year-old Teoh Siew Ngoh, at the parking area of Brem Park Kondominium 1, Taman Gembira, Brickfields, here at 8.30 pm on June 20 last year.
In mitigation, Lim said he was remorse and regretted his action.
"I won’t repeat it. I'm very sorry mom," he said, while looking at his mother, who was at the public gallery, when deputy public prosecutor Ahmad Zikri Jaafar, who prosecuted, asked him to apologise to Teoh for his action.