Question: I am displaying all the sd card images in grid view.The thing is I have to display all the images which are there on external storage of the device and at the same time not to display the camera images.I know that for this I need to get either camera bucket id or bucket display name.I am not getting how to do this.So can anyone please help me how to do this..

Answer: 
Anthony got to the actual problem before me...

> 
> After the 5th iteration, you are setting the minutes to become 75 (ie,
>  5 \* 15 = 75) which is an 1 hour and 15 minutes which is why the next
>  value after 10:00 becomes 11:15
>  - Anthony Forloney
> 
> 
> 

This code should work to set the time correctly.

```
function cboHrs(){
    var now = new Date(); 
    var hrs = [];
    for (var i=1;i<36;i++){
        var hr = {};
        // add another hour every 4th iteration
        now.setHours(9 + parseInt(i / 4));
        // add 15 minutes every iteration, starting back at 0 on the 4th
        now.setMinutes((i % 4) * 15);
        hr.txt = pad(now.getHours(),2) +':'+pad(now.getMinutes(),2);
        hr.val = hr.txt; 
        hrs.push(hr);
        }
    return hrs;
}

```
The problem lies within the `now.setMinutes(i*15);` line of code. After the 5th iteration, you are setting the minutes to become `75` (ie, `5 * 15 = 75`) which is an `1 hour and 15 minutes` which is why the next value after `10:00` becomes `11:15`