'Week of Year Microsoft Flow

I have a flow that grabs data from a SharePoint list every week, and then creates a CSV file from that list. Since it is run every week, I want to name the file FileName_Week_xx but I don't see a weekofYear epression or something similar when naming the file.

Is there a way to use the other time expressions or create a variable that determines what week of the year the data is being pulled?



Solution 1:[1]

I guess You can try an expression step with something like:

add(div(dayOfYear(utcNow()), 7),1)

Please refer to the below screen show of the flow steps You can create. Hope it helps :)

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 General Grievance