Los Angeles Superior Court Judge Patricia Schnegg sentenced Aretha Wilson on Tuesday after Wilson entered her plea to assault with a deadly weapon last month.
The "Inception" star, who required surgery after the attack, did not attend the sentencing.
Wilson went to Canada after the attack and returned earlier this year. The 40-year-old has been jailed in Los Angeles since July.
Her sentencing had been repeatedly delayed while authorities tried to figure out how much credit Wilson would receive for time served.
A phone message for Wilson's attorney, Freddy Sayegh, was not immediately returned.