Question: I was working on a webview which was not working. I then noticed that I cannot even view google or any other webpage using the emulators browser. 

What could be the reason for this? Also do I need to setup the emulator to connect to the internet some how?

Please let me know. 

Thanks

Answer: 
You could use:

```
DateTime start = ...;
DateTime finish = ...;

for (DateTime x = start; x <= finish; x = x.AddDays(1))
{
   ... // use x
}

```
```
for(DateTime date=duedate;date.Date<DateTime.Now.Date;date=date.AddDays(1))
{
}

```

something like this