Hi there, what would be the best way to get the current weekday within a workflow?
You can use the datetime plugin and the action Get Datetime to get the date, or are you wanting the actual day (Monday, Tuesday, etc…)
You could use a Python Step
import calendar
from datetime import date
# get today's date
d = date.today()
print('Date is:', d)
# get day name in english
x = calendar.day_name[d.weekday()]
print('Weekday name is:', x)
3 Likes
Yes, I need the actual day (Monday, Tuesday…). Sorry for the confusion.