# SOWEEK

The SOWEEK function takes the date as input and returns the starting date of the week. Node references and measures are also accepted as input arguments. Use [DATE.SET()](https://docs.inforiver.com/formula-syntax/date-functions/date.set) to set the format of the output date.

## Syntax

```java
SOWEEK(date)
```

## Arguments

date - The date which is passed as an input to the function. Required.

## Return value

Date representing the start of the week.

## Example

```java
SOWEEK("05/29/2024")
//Returns 27/5/2024
```

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FvpK2qGpQmaJL6wtR4b8P%2Fimage.png?alt=media&#x26;token=f55dd05e-148c-44e7-bbc0-bc43e22270a1" alt=""><figcaption><p>SOWEEK</p></figcaption></figure>
