Quote:
Originally Posted by oren64
I'm trying to add the current month and year to the link, like:
program:list_item(today(),1 , '-') = 02
program:list_item(today(),0 , '-') = 2018
But it doesn't work, it only works with columns.
Is possible to add the date to the link?
|
"today()" returns a string, not a list. The following should do what you need:
Code:
program: format_date(today(), 'yyyy')
program: format_date(today(), 'MM')