Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
day(now()) || '/' || month(now()) || '/' || year(now())
returns current date as 15/4/2019, but I want to get the date in dd/mm/yyyy format i.e. 15/04/2019.
How can I get that using QGIS desktop version 2.18.12?
You need to use the format_date expression.
Please read the documentation of the format_date expression in QGIS Expression dialog to have all possibilities.
Required, but never shown
9 days ago
5 days ago