# 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/premium-table/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://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/1RYM9V5VLTgVLd9V5Npm/image.png" alt=""><figcaption><p>SOWEEK</p></figcaption></figure>
