Date Properties
Extract date properties from a date (day, month, year, etc...).
Extract date properties from a date, such as day, month, year, weekday, or quarter.
Parameters
| Name | Description | Accepted Values | Default | Required |
|---|---|---|---|---|
| I/O | ||||
input | Name of the input column. | string, integer, array | — | Yes |
output | Name of the output columns. | string, null | null | No |
| Options | ||||
property | Property to extract from date. | string; one of:
| — | Yes |
| Conditions | ||||
if | Condition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}. | string | — | No |
where | Filter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'. | string | — | No |
where_params | Values used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name. | array, object | — | No |
Examples
wrangles:
- extract.date_properties:
input: Date
output: Output
property: month_name
| Date |
|---|
| 1992-08-13 00:00:00 |
| Output |
|---|
| August |
Access
| Requirement | Value |
|---|---|
| AI-powered | No |
| Requires WrangleWorks account | No |
| Requires subscription | No |
| Requires external API key | No |
Technical details
| Field | Value |
|---|---|
| Catalog ID | 26 |
| Catalog key | extract.date_properties |
| Recipe key | extract.date_properties |
| Catalog status | active |
| Lifecycle status | active |
| Recipe Writer eligible | Yes |
| Namespace | extract |
| Documentation group | extract |
| Aliases | None |
| Runtime symbol | wrangles.recipe_wrangles.extract.date_properties |
| Legacy UUID | a346de62-93cd-44ba-8d30-a6305629c6d7 |
Sources