Difference in datepattern


datepattern(today(),“yyyymmdd”) = 2018214 in Panorama 6.
datepattern(today(),“yyyymmdd”) = yyyymmdd in Panorama X.

What I would really like is 20180214, for date stamping.


This will work:


Are you sure you don’t want the result to be 20180214? If so, use:



Thank you, I wanted datepattern(today(),“YYYYMMDD”), which gives me what I want. No need for replace(.