# Get Date property

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/get-date-property/](https://docs.virtosoftware.com/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/get-date-property/)
Product: Virto Workflow Automation Web Part
Updated: 2026-08-12


This activity retrieves various components from a date, including Year, Month, Day, Hour, Minute, Second, Ticks, Day of Week, Day of Year, and Week of Year, and stores them as numbers.

![Get Date property workflow activity retrieving a date component such as Year into a variable](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/get_date_property_1.png)

## **SharePoint Workflow Designer Phrase**

Get **Year** component from **this time** and store in **variable**.

**Parameters**


| Parameter | Description |
|---|---|
| Year | **Year**: Gets the year component of the date represented by this instance.; **Month**: Gets the month component of the date represented by this instance.; **Day**: Gets the day of the month represented by this instance.; **Hour**: Gets the hour component of the date represented by this instance.; **Minute**: Gets the minute component of the date represented by this instance.; **Second**: Gets the second component of the date represented by this instance.; **Ticks**: Gets the number of ticks that represent the date and time of this instance.; **Day of Week**: Gets the day of the week represented by this instance (Sunday = 0 … Saturday = 6).; **Day of Year**: Gets the day of the year represented by this instance (value between 1 and 366).; **Week of Year**: Gets the week of the year represented by this instance (value between 1 and 52). |
| this time | DateTime variable |

