Current Date on Print Format

I’m not sure if this is a silly question, but what the simplest way to include the current date on your print format?

{{ }}

Sorry this is not documented very well.


Oh, I didn’t find this one on the API documentation.

Thank you!

1 Like

2 more questions on that:

  1. How can I format the date to show
  2. How can I also include the current time in format of HH:mm?
  1. {{ frappe.utils.formatdate(, ‘dd-MM-YYYY’) }}
  2. {{ frappe.utils.now_datetime().strftime(‘%H:%M’) }}