# SoqlRelativeDateLiteral (/docs/core/reference/api/interfaces/SoqlRelativeDateLiteral)



[@kysoql/core](/docs/core/reference/api) / SoqlRelativeDateLiteral

Branded Salesforce relative-date literal accepted by date and datetime
filters.

## Properties [#properties]

| Property                                                                              | Modifier   | Type                                                                                   | Description                                                                                                 |
| ------------------------------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| <a id="api-property-kind" /> `kind`                                                   | `readonly` | `"SoqlRelativeDateLiteral"`                                                            | Literal discriminator used by the compiler.                                                                 |
| <a id="api-property-value" /> `value`                                                 | `readonly` | [`SoqlRelativeDateValue`](/docs/core/reference/api/type-aliases/SoqlRelativeDateValue) | Validated Salesforce relative-date literal, such as `LAST_N_DAYS:30`.                                       |
| <a id="api-property-soqlrelativedateliteralbrand" /> `[soqlRelativeDateLiteralBrand]` | `readonly` | `never`                                                                                | Type-only brand used by Kysoql to preserve compile-time information; it has no user-facing runtime meaning. |
