# Get date property

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/date-processing/get-date-property/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/date-processing/get-date-property/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


This activity gets a date property and stores result in a variable.

![Get date property activity in the Virto Workflow Designer extracting a date component into a variable](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_date_property_1-1.png)

## **Parameters**

Input parameters


| Parameter | Description | Example |
|---|---|---|
| Component | Date part type. Select it from predefined values. | Year, Month, Day, Hour, Minute, Second, Ticks, Day Of Week, Day Of Year, Week of Year |
| This time | Inputdate. Date value you want to get. | [%Variable:updatedDate%], [%CurrentItem:Created%] |
| Variable | Returns part of a date. If date is null returns -1. |  |


Example

![Example workflow choosing a date component and input time for the Get date property activity](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_date_property_2.png)
