---
schema_version: "1"
id: 79478645d5b00c736d812799a690c443d17f0bda31a8b233fe5baaaaa345bae3
title: "Extract Transformation: Get a Date Component"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_batch_transform_dateextract.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_batch_transform_dateextract.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ea870686694db94941089666482754ad9b60e88392e6389eee690fa1f165f258
description: Use the Extract transformation to pull a selected component from a date field into a new field. For example, extract the hour component from the Case Created Date field to analyze case creation by hour of the day.
products:
  - Data 360
release: "264"
---
# Extract Transformation: Get a Date Component

Use the Extract transformation to pull a selected component from a date field into a new field. For example, extract the hour component from the Case Created Date field to analyze case creation by hour of the day.

1. In the Transform node, select the date field that you want to extract a component from.
2. In the Transform toolbar, click the **Extract** button (![Extract from date button.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/resources-global/analytics/images/bi_data_prep_extract_icon.png)) to set the extract settings.
3. Select which date component to extract.
4. Under Show Results In, select whether the new values appear in a new field and whether to keep the original field.
5. If you elect to create a field, set the label under Field Label.
6. Click **Apply** to add the transformation to the Transform node. The Preview tab shows the new date component field.
7. To view the canvas, click the **Collapse** button (![Collapse button](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/resources-global/analytics/images/bi_button_collapse.png)).
8. Save the data transform.

After you run the data transform, the selected date component is extracted in the specified dimension field.