I would try and obtain sufficient sleep whenever I can, but sometimes circumstances do not provide such luxury, especially when one is out in the field, donning a green uniform and holding a rifle.
The longest time I have went without sleep would be around 25 hours, or so I think.