Used the following code:

mylabels "1 Jun 2015" "1 Aug 2015" "1 Oct 2015" "1 Dec 2015" "1 Feb 2016" , myscale(clock("@", "DMY")) local(labels)

However when I try
xtline adhpc, overlay legend(off) xlabel(labels)

I get the error: invalid label specifier, : labels:

Why is this? I thought I used the correct local macro...