This has been asked here and also solved, but it does not work for me.
I have one field "year" with datetime\now()
I have another field "invoice-year", that I want to show only the year, not month or day.
These are the two formulas, use, but it does not work, the "invoice-year" still shows the complete datetime field:
Any help, what is going wrong here?
I have one field "year" with datetime\now()
I have another field "invoice-year", that I want to show only the year, not month or day.
These are the two formulas, use, but it does not work, the "invoice-year" still shows the complete datetime field:
Code:
year=datetime\now(); invoice-year=datetime\format(year, 'YYYY');
Comment