web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Expression for Week Nu...
Power Automate
Unanswered

Expression for Week Number

(0) ShareShare
ReportReport
Posted on by
Hi There,
 
I am willing to create a flow to send weekly e-mails to certaion people with current weeknumber information on subject, which should be changing every week.
 
I have been able to add current date to subject with a simple expession utcNow(), but couldn't figure out the right expession for current week number.
 
Categories:
I have the same question (0)
  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at
    Hi,
     
    You can try as below
     
     
     
     
    If I have answered your question, please mark it as the verified answer. If you like my response, please give it a Like.
    Regards,
    Srini
  • abc 123 Profile Picture
    784 Moderator on at
    Is the week based on the actual calendar week, a week that the company designates as the first week (for example, first week with a Sunday in it, or the Project week?
     
    In 30 years, I've never had code that just needed the simple calendar week, so that's why I asked.
  • Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    The formatDateTime() function does not have a date format string of "ww" nor (as far as I know) any other "easy" way to determine the week number.
     
    Here I show a flow that caluculates the week number of a date according to ISO 8601 :
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard