Yes very easy on line, do it 48 before you will get a confirmation by email to inform you they have received it, then wait 24 hours and you will get your 90 day then print it off and put it in your passport
You can renew your visa two weeks before, an easy way to sort it go to your local immigration office and ask them, not everyone knows everything on here, good luck