Somewhere between 20 minutes and a few full working days depending on the requirements not stated in the question. Are you trying to gauge how bad developers are at estimates?
That happens from time to time, just look at the rise of stack overflow to get a feel for how common it is. As long as you don't have that feeling every single day I honestly wouldn't worry too much about it.