Subscribe Bookmark RSS Feed

How can i calculate the beginning of the week, from a date value?

ronaldochoa

Community Trekker

Joined:

Apr 28, 2016

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp

Staff

Joined:

Jun 23, 2011

Solution

Do 'Help > Scripting Index' and search for 'Day of Week':

Names Default To Here( 1 );
Day Of Week( Today() );
2 REPLIES
ian_jmp

Staff

Joined:

Jun 23, 2011

Solution

Do 'Help > Scripting Index' and search for 'Day of Week':

Names Default To Here( 1 );
Day Of Week( Today() );
ronaldochoa

Community Trekker

Joined:

Apr 28, 2016

Thanks Ian.  Yup, subtracting the Day Of Week from the original date value will give me the beginning of the weelk.