View Single Post
Old 02-18-2024, 09:52 AM   #13
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Look at the template language documentation for Single Function Mode, which is what you are trying to use. You will see that it requires the field to be operated, a colon, and the function to apply. As in:
Code:
{pubdate:date_arithmetic(1d)}
You might want to add the "format" argument the date_arithmetic() function. The format string is described in the date_format() function documentation.
chaley is offline   Reply With Quote