@Tubiss wrote:
private eventDate: Date = new Date('July 16, 2019 12:24:00');//this is another date
private today : Date=new Date();if(this.today==this.eventDate{ console.log(hello) }its not working as this like but when ı make below hello is displayed
if(this.today!=this.evetDate){ console.log(hello) }ı mean
private today : Date=new Date();that is not getting today date please help me how can ı get current date
Posts: 1
Participants: 1