AidenPerez
11 months agoQrew Member
Creating Arbitrary Dates with Jinja
Hey folks, so I'm trying to find the first monday of the month in my pipeline, and I'm struggling to find a way to insert my own info to create a date to work with. Here is the beginning of my current attempt, with the problem laying on getting firstDay into date format...
{% set firstDay = time.date(a.year, a.month, 1) %}
{% set weekday = firstDay.strftime("%w") %}
Would appreciate any help here with this, thanks in advance!
------------------------------
Aiden Perez
------------------------------