I would like to show today instead of not showing Date(23-07-2020) in numeric values. Is it possible?
Like this picture I need to show the date as today or yesterday
var today = new Date();
var date = String(today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate());
var time = today.toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'});
var dateTime = date+' '+time;
this.dateTimeValue = dateTime;