Just under two months from the murder to the opening court scene.
Hamlet tells us this in the "O, that this too too sullied flesh" soliloquy: (
1.2.141
)
" That it should come to this,/But two months dead, nay not so much, not two,"