Skip to main content

Change workweek to Monday -Sunday


Forum|alt.badge.img+8

This formula is very handy
DATETIME_PARSE({WEEKNUM}&’’,‘w’)
however I need the first day of a work week to be and Monday and the last day of the workweek be Sunday
How can I modify this formula?

2 replies

Kamille_Parks11
Forum|alt.badge.img+25

Assuming {WEEKNUM} field is using the WEEKNUM() function:

WEEKNUM(date, [startDayOfWeek])

Returns the week number in a year. You may optionally provide a second argument (either “Sunday” or “Monday”) to start weeks on that day. If omitted, weeks start on Sunday by default. Example:
WEEKNUM(TODAY(), “Monday”)

Otherwise, try using the ISO format for week, which starts on Monday. Instead of 'w' it would be 'W'


Forum|alt.badge.img+3
  • New Participant
  • 3 replies
  • March 25, 2025

Hi.

 

Is there a way to set a different [startDayOfWeek] specifier? I need to use Thursdays. 

 

Any ideas?

 


Reply