I get the same error - using the dansih term for exact same function:
today() = i dag()
And get the following error:
Forventet værditype: slutning-på-streng
Faktisk værdi: navn
i -->dag<--()
Translated:
Expected standard value: end-of-string
Value: name
in -->today>--()
--
Best regards
Villads