PHP Code:
ifThen(
entity\isNew(),
today = datetime\today()
);
PHP Code:
ifThen(
entity\isNew(),
today = datetime\today(datetime\format(today,'Europe/Berlin','DD.MM.YY'))
);
Europe/Berlin is the timezone, which you may omit. Then the timezone of your installation is taken. DD.MM.YY displays 17.11.2025. The date formatting follows php date formatting.
To get the date value into your order, create another formula string\concatenate, whre the today field will be one string part.

Leave a comment: