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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Calculating weekend dates
Power Automate
Answered

Calculating weekend dates

(0) ShareShare
ReportReport
Posted on by 52

Hello,

 

Is there a way to caculate if a date falls on a weekend in PowerAutomate?  I can do this in excel, but i'd rather not add a new column to a spreadsheet if the calculation can just be done by PAD.

 

Thanks,

  • A_I Profile Picture
    16 on at

    Not the most elegant, but you could use Convert datetime to text with custom 'ddd' to get the day of week short (e.g. 'Wed') then check if that value is 'Sat' or 'Sun'

  • Ernie-Velazquez Profile Picture
    52 on at

    Thanks!  I was thinking that too, but also thought there should be a more direct way of accomplishing that.  Drats!

  • Ernie-Velazquez Profile Picture
    52 on at

    if it's not one thing it's another.  When I was trying to get PAD to write the formula (=IF(OR(WEEKDAY(B2)=7,WEEKDAY(B2)=1),B2-2,B2)) into excel it runs into issues writing the formula...

  • A_I Profile Picture
    16 on at

    Yeah, I don't know of a more direct way....

  • Verified answer
    Filip_Vojta Profile Picture
    19 on at

    Hi. You can use the PAD native functinoality Date variable .DayOfWeek

    (see row 1 and 18. Zoomed at the bottom right corner)

    Day of week native property od dateDay of week native property od date

  • Ernie-Velazquez Profile Picture
    52 on at

    That's what I was looking for!  Excellent, thank you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard