A doctor gives you three pills and tells you to take one every half an hour. How long will the pills last?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?