I am getting the data by push it into an array and I want to show that data on a page
I am using 

```
$.each(data, function (i, o) {
                $scope.GetBlogDetailsar.push({ Id: o.id, Title: o.title, CategoryId: o.categoryId, SubCategoryId: o.subCategoryId, Image: o.image, MetaDescription: o.metaDescription, TotalLikes: o.totalLikes, TotalDislikes: o.totalDislikes, CreatedDate: o.createdDate, CategoryName: o.categoryName, SubCategoryName: o.subCategoryName });
            });

```

where GetBlogDetailsar is an array.

I am getting the desired data 
but the problem is I am getting the created date with time also I only need date to display
So how can I remove time from date.

I am getting

```
`2016-12-14T02:01:20.983 as created date`

```

I want only 

```
2016-12-14

```