I need help to compare the date.
for example 

```
today:Date=new Date();
endDate='9/17/18, 9:00 PM';
if(this.today>this.endDate){
....
}

```

I need to set date and compare it.
Any help is appreciated.
Thank you in advance.
XXX