Format

PlotOptionsLine varsOpts = new PlotOptionsLine();
varsOpts.getDataLabels().setFormat(“{value:%Y-%m-%d}”);

This way to format PlotOptionsLine date wont work,how to fix?