Extract from date
Extract from date
DataPrep provides various options to extract part of date values into a new column. The portions which can be extracted are:
Year
Quarter and year
Month and year
Week and year
Date
Time
Quarter
Month
Week
Day of the week
Day of the month
To extract part of a date
Right-click a date column and select the
Extract
icon from the context menu.
Enter the column name under
New column name.
Choose the portion to be extracted from the options provided.
4. You can apply this transform to multiple columns. Select the columns using the
option under
Columns to apply
.
SEE ALSO
Know more about Smart selection
How to extract values from a list column?
How to extract values from a map column?
How to extract values from a text column?