Truth be told I was planning on quitting at 3pm during my bi-weekly one-on-one with the CTO, so I'm taking it in stride/happy.
Happy? You should be ecstatic. You just won the lottery!
What you would have received if you had quit at 3pm: nothing.
What you will receive because they beat you to it: 4 weeks pay, 5 weeks benefits, 26 weeks (potentially) unemployment. I dunno, something like $10,000 to $20,000.
Count you lucky stars and enjoy your lottery winnings. I wish I could figure out how to do that.