In the Custom Display editbox, “\n” will wrap tick labels and only show year or month on the first tick:
Another addition is “%CRLF”, which makes a new line:
There is also a Show Date for 1st Tick of the Date checkbox. This is so that, when a variable like hour, e.g., is used in Custom Display, it will wrap by day: