---
title: boundaries.wednesday() function
description: boundaries.wednesday() returns a record with start and stop boundary timestamps for last Wednesday.
url: https://docs.influxdata.com/flux/v0/stdlib/experimental/date/boundaries/wednesday/
estimated_tokens: 711
product: Flux
version: v0
---

# boundaries.wednesday() function

-   Flux 0.177.1+
-   View InfluxDB support

`boundaries.wednesday()` is experimental and [subject to change at any time](/flux/v0/stdlib/experimental/#experimental-packages-are-subject-to-change).

`boundaries.wednesday()` returns a record with `start` and `stop` boundary timestamps for last Wednesday.

Last Wednesday is relative to `now()`. If today is Wednesday, the function returns boundaries for the previous Wednesday.

##### Function type signature

```js
() => {stop: time, start: time}
```

For more information, see [Function type signatures](/flux/v0/function-type-signatures/).

## Examples

### Query data collected last Wednesday

```js
import "experimental/date/boundaries"

day = boundaries.wednesday()

from(bucket: "example-bucket")
    |> range(start: day.start, stop: day.stop)
```

[date/time](/flux/v0/tags/date/time/)
