If today is 24 feb 2006:
{^2006-02-24} is a literal expression for today, it is a date type expression same as what DATE() returns.
In order to get {^YYYY-MM-DD} from a string variable (created in your case) I choose to use Transform() and Evaluate().
With Transform(created, "@R...
Assuming that created is a character field. There are several way to convert a "YYYYMMDDHHMMSS" string into a date type variable. Evaluate() and Transform() with R format code is easy to read and the conversion is not affected by current date format setting.
Date() -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.