Difference in datepattern


#1

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

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


#2

This will work:

replace(datepattern(today(),“yyyy/mm/dd”),"/","")

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

replace(datepattern(today(),“YYYY/MM/DD”),"/","")

#3

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