I would like to get a list of items with the date of today from my MongoDB. I only get the result I want when I hard code the date: "date":"2017-10-26T07:09:36.417Z in my pushups.js file below.
Here is my code.
Documents in my MongoDB
{
    "_id": {
        "$oid": "59f18ac290531423ecb3cb51"
    },
    "date": "2017-10-26T07:09:36.417Z",
    "count": "25"
}
pushups.js:
router.get("/pushupsToday", function (req, res) {
var dateObj = new Date();
console.log(dateObj);
db.pushups.find({"date": dateObj}, function (err, pushups) {
    if (err) {
        res.send(err);
    }
    res.status(200).send({"success": true, "result": pushups});
});
pushups.service.ts:
@Injectable()
export class PushupService {
  apiUrl = this.appSettings.getApiURL();
  data;
  removedItemId;
  removedItem;
  constructor(public http: Http, public appSettings: AppSettings) {
  }
  public getTodays() {
    return this.http
               .get(this.apiUrl + 'api/pushupsToday')
               .map(response => response.json().result);
  }
home.ts:
getTodays() {
  console.log("getTodays in home.ts");
  this.pushupSeriesToday = this.pushupService.getTodays();
}
home.html:
<ion-item *ngFor="let item of pushupSeriesToday | async ">
  <ion-item>{{item.count}} - {{item.date | date}}</ion-item>
</ion-item>
 
     
    