As you've probably picked up on by now, the only real answer is "it depends!" LOL! You do have an advantage in that your work isn't physically intensive and you could go take a nap in the middle of the workday if needed. That may make it easier for you to ease back into things earlier than others were able to. But it will also depend on how your concentration, vision (dry eye), and balance (which can make it hard to focus on a monitor) are affected.
My story:
I had translab surgery to remove a 2.3 cm tumor. The first two weeks I felt pretty lousy. At 4 weeks, I was taking care of my two very young sons by myself (though doing so from the sofa for quite a bit) during the day, and feeling completely drained by evening. By 6 weeks, I was running after my kids normally and felt pretty much the same as I did pre-op. I've also been told by the doctors that my recovery has been "remarkable." At least your job is less physically demanding than taking care of two energetic, boisterous, little boys all day! LOL!
Katie