Skip to content

Commit

Permalink
Update README.md (#99)
Browse files Browse the repository at this point in the history
Added missing parenthesis
  • Loading branch information
JordanZimmitti authored Jan 11, 2023
1 parent d59b2e1 commit ca326b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,19 +600,19 @@ Returns the number of periods since a specified date or to `now`.
Usage:

```sql
{{ dbt_date.periods_since("my_date_column", period_name="day" }}
{{ dbt_date.periods_since("my_date_column", period_name="day") }}
```

or,

```sql
{{ dbt_date.periods_since("my_timestamp_column", period_name="minute" }}
{{ dbt_date.periods_since("my_timestamp_column", period_name="minute") }}
```

or, optionally, you can override the default timezone:

```sql
{{ dbt_date.periods_since("my_timestamp_column", period_name="minute", tz="UTC" }}
{{ dbt_date.periods_since("my_timestamp_column", period_name="minute", tz="UTC") }}
```

### [round_timestamp](macros/calendar_date/round_timestamp.sql)(`timestamp`)
Expand Down

0 comments on commit ca326b2

Please sign in to comment.