DonLarson
2 years agoQrew Elite
Jinja First Day of the Month
I am trying to get a Jinja Expression to give me the First Day of the Month. Searching the Help Section and web, the Replace function should work.
{{time.now|replace(day=1)}}
The error message I am getting is
Validation error: Incorrect template "{{time.now|replace(day=1)}}". TypeError: do_replace() got an unexpected keyword argument 'day'
There are plenty of Python references out there for this and Replace is listed in the QB Help. I am sure it is a subtle syntax change to get the right output.
------------------------------
Don Larson
------------------------------