Dataview supports Moment.JS natively. This allows us to format time as we see fit.

Working with time

const DATE_FORMAT = "YYYY-MM-DD dddd";
 
let tomorrow  = moment().add(1, 'days').format( DATE_FORMAT );
let yesterday = moment().subtract(1, 'days').startOf('day').format( DATE_FORMAT );
 
dv.span( `<< [[${yesterday}]] | [[${tomorrow}]] >>` )