Salesforce

DOW (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

DOW (Magic xpa 3.x)

Returns the number of the day of the week from a date, where Sunday is 1, Monday is 2, and so on.

Syntax:

DOW(date)

Parameters:

date: A date

Returns:

Number

Examples:

DOW('29/01/92'Date) (representing a Wednesday) returns 4.The following expression displays a message if the system date is a Sunday:

IF(DOW(Date())=1,'Never on Sunday',')

See also:

CDOW, Day, NDOW

How Do I Calculate the Day of the Week of a Date, as a Number?

The Online and Rich Client Samples projects (program DT16, DT19, RDT16 and DT19)

Reference
Attachment 
Attachment