JeromeMitchell
2 years agoQrew Member
Jinja2 Expressions for date quarter
For my pipeline file output name I'm trying to format an output report filename field based on a specific date in Jinja2. Based on that date the naming convention should include which quarter the data contains.
ex. Report Date = 12/31/22
Desired outputfile name = Report_(#QYY)_<MM-DD-YYYY> eg. Report_Q422_01-10-2022
How can I manipulate the date to return a number for the quarter ?
------------------------------
Jerome Mitchell
------------------------------
ex. Report Date = 12/31/22
Desired outputfile name = Report_(#QYY)_<MM-DD-YYYY> eg. Report_Q422_01-10-2022
How can I manipulate the date to return a number for the quarter ?
------------------------------
Jerome Mitchell
------------------------------