function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

When does a week start?

When using the Sales Force time shortcuts like "THIS_WEEK" and "LAST_WEEK", what day does a week end on?

According to the help files:

For Enterprise, Unlimited, Professional, and Developer Editions, the week is defined by the Locale drop-down list in your personal information settings at Setup | My Personal Information | Personal Information. For Group and Personal Editions, the week is defined by the Locale setting in the company profile at Setup | Company Profile | Company Information. For example, when the Locale is US English, a week runs Sunday to Saturday, whereas with UK English, a week spans Monday to Sunday.

Mysti, Developer DocumentationMysti, Developer Documentation
For additional information about date literals, see: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12">

Good luck!