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.
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 |