Conditional: IF the creation date after the publication is in the first half OR the last half of the year

I'm trying to find a way to have a simple conditional by which I can echo something depending on whether the publication date is in the first half or the last half of the year of the publication date.