How do I write last 7 days except weekends.

```
for (var i = -7;i == 0 ;i++)
    { DateTime date = new DateTime();
    var Days = date.AddDays(i).ToString();
    }  

```

for this code how can i pass weekends and this code comes from the 7th day today, I need the exact opposite . 

if is it possible var day would be like =['25.05.2015','22.05.2015','21.05.2015','20.05.2015','19.05.2015','18.05.2015','15.05.2015']. 

i will use this table for book record. ![enter image description here](https://i.stack.imgur.com/1mpiE.png)

```
function drawVisitorsChart() {

                        var data = new google.visualization.DataTable();
                        var raw_data = [['Book', 50, 73, 104, 129, 146, 176, 139],
                                        ['Periodical', 82, 77, 98, 94, 105, 81, 104],
                                        ['Map', 50, 39, 39, 41, 47, 49, 150]];

                        var Days= ['x', 'x', 'x', 'x', 'x', 'x', 'x'];

                        data.addColumn('string', 'Month');
                        for (var i = 0; i < raw_data.length; ++i) {
                            data.addColumn('number', raw_data[i][0]);
                        }

                        data.addRows(Days.length);

                        for (var j = 0; j < Days.length; ++j) {
                            data.setValue(j, 0, months[j]);
                        }
                        for (var i = 0; i < raw_data.length; ++i) {
                            for (var j = 1; j < raw_data[i].length; ++j) {
                                data.setValue(j - 1, i + 1, raw_data[i][j]);
                            }
                        }

                        var div = $('#daily_div');
                        new google.visualization.ColumnChart(div.get(0)).draw(data, {
                            title: 'Daily Record',
                            width: div.width(),
                            height: 330,
                            legend: 'right',
                            yAxis: { title: '(thousands)' }
                        });

```