date logic for TV-type