| DOW( ) DOW(date_value) |
Date Function Returns a Numeric Value
Returns the day of the week number (0 - 6) corresponding to the date value. Returns 0 for Sunday,
1 for Monday, 2 for Tuesday, etc. If the date_value is left blank, than the current system date is used.
Returns -1 if the date_value is equal to "mm/dd/yyyy".
Function Use
This function can be used when filtering records or formatting how dates are displayed or returned.
Example
You want to see all Statements that are dated this week.
(Date >= (TODAY() - DOW() + 1) AND (Date <= (TODAY() - DOW() + 5)))
Other Resources
- Expression Examples
- Filtering Records
- Knowledge Base Article R11493 - All About Expressions
- Knowledge Base Article R11515 - Filter Expression Examples
- Knowledge Base Article R11487 - Working with Indexes, Filters, and QuickViews
- Knowledge Base Article R10750 - Report Writer, Filter, and WorkFlow Functions (provides link to downloadable .pdf)