# created in CQL (Confluence): syntax and examples

URL: https://goingstellar.ro/reference/cql/created-field/

The created field compares the date and time a page, comment or file was first created. Use it for what is new this week, for stale content with a cutoff, or for one day's activity. It takes dates in a fixed format or the date functions.

## Syntax

```
created >= "yyyy-MM-dd"
created >= "yyyy-MM-dd HH:mm"
created >= now("-4w")
```

## Arguments

- `date`: One of four formats: yyyy-MM-dd, yyyy/MM/dd, yyyy-MM-dd HH:mm or yyyy/MM/dd HH:mm. Quote it.
- `function`: now(), startOfDay(), startOfWeek(), startOfMonth(), startOfYear(), endOfDay(), endOfWeek(), endOfMonth() or endOfYear(), optionally with an offset such as "-4w".

## Works with

- Operators: =, !=, >, >=, <, <=
- Functions: now(), startOfDay(), startOfWeek(), startOfMonth(), startOfYear(), endOfDay(), endOfWeek(), endOfMonth(), endOfYear()
- Not with: ~, !~, IN, NOT IN

## Examples

```
created >= now("-1w") AND space = SD AND type = page ORDER BY created DESC
```

Lists the pages added to a space in the last week, newest first. Run on Confluence Cloud on 2026-11-29.

```
created >= startOfWeek() AND type = page
```

Shows the pages created since Monday, for a weekly summary. Run on Confluence Cloud on 2026-11-29.

```
created >= "2026-11-16 10:00" AND created < "2026-11-16 12:00"
```

Narrows a search to a two-hour window, such as a review meeting. Run on Confluence Cloud on 2026-11-29.

```
created = "2026-11-16"
```

Finds everything created on one calendar day. Run on Confluence Cloud on 2026-11-29.

```
created < now("-3M") AND type = page AND space = SD
```

Lists pages older than three months, the starting point for an archive review. Run on Confluence Cloud on 2026-11-29.

## Pitfalls

- The documentation example `created > 2014/09/01` fails with "Could not parse cql" because the date is not quoted. `created > "2014/09/01"` runs. Unquoted works only with dashes: `created >= 2026-11-01` runs, `created > 2026/09/01` does not.
- Only the four documented formats parse. Seconds, a T separator, day-first dates and partial dates all fail with "Could not parse cql": `"2026-11-16 10:00:30"`, `"2026-11-16T10:00"`, `"16/11/2026"`, `"2026-11"`. An impossible date such as `"2026-02-30"` fails too.
- A date without a time matches the whole day, so `created = "2026-11-16"` finds that day's content. Add a time and `=` only matches that exact minute: `created = "2026-11-16 10:00"` usually finds nothing. Use a pair of `>=` and `<` for a window.
- `created in ("2026-11-16", "2026-11-17")` fails with "Operator 'in' is not supported for field 'created'. Supported operators are : <, <=, >, >=, =, !=", and so does `~`. A bare number gives a misleading error: `created > 2026` says the operator '>' is not supported, when the value is the problem.

## Related

- [lastmodified](https://goingstellar.ro/reference/cql/lastmodified-field/)
- [now()](https://goingstellar.ro/reference/cql/now/)
- [startOfWeek()](https://goingstellar.ro/reference/cql/startofweek/)
- [startOfMonth()](https://goingstellar.ro/reference/cql/startofmonth/)
- [>=](https://goingstellar.ro/reference/cql/greater-than-equals-operator/)
- [ORDER BY](https://goingstellar.ro/reference/cql/order-by/)

## Sources

- [CQL fields (Atlassian Developer, Confluence Cloud)](https://developer.atlassian.com/cloud/confluence/cql-fields/)
- [CQL functions (Atlassian Developer, Confluence Cloud)](https://developer.atlassian.com/cloud/confluence/cql-functions/)

