Get Date property

⌘K

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_1
SharePoint Workflow Designer Phrase

Get Year component from this time and store in variable.

Parameters

ParameterDescription
YearYear: 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 timeDateTime variable

How can we help?