WordPress 4.4 introduced the ability to display date archives by appending /?post_type=custom_post_type to the end of the date url. i.e. localhost/2016/02/?post_type=news.
I had assumed I could do:
if( is_post_type_archive('news) && is_date())...
But from what I can discern:
is_date() will only detect if the page is displaying a year/month/day archive & is_date() applies to all CPT date archives as well
is_archive() applies to all archive pages
is_post_type_archive('CPT') will only apply to the archive page and filters out date archives
I'm trying to output a menu on the news date archive pages to display separately from the blog date archive pages.