I am looking to find out how to output the current year in a Flask template. I know in Django you can use {% now \"Y\" %}., but is there a Flask equivalent? I have
{% now \"Y\" %}.
You can use a JavaScript library like moment.js like this: