homepage daily dashboard date logic