Date – Build Date From Parts

This activity takes the components of a Date Time field and builds a Date Time value, which can be set on other records or used in comparisons to other Date Time fields in CRM.

Usage Examples:

  • You want to set a date to 3/1 of the current year, but don’t want to have to update the workflows every New Year. Use Date – Get Date Components to get the current year, then build a date by passing that into this activity.

Input Parameters

Parameter Name Type Description Default
Day of Month Whole Number The day of the month you want specified (1 – 31)
Month (Option Set) Option Set The month of the year, in an Option Set.This is required, but if a numeric month is specified that takes precedence. January
Month of Year (1 – 12) Whole Number The month of the year, as a whole number. Takes precedence over “Month (Option Set)”
Year Whole Number The month of the year, in an Option Set.This is required, but if a numeric month is specified that takes precedence.
Hour of the Day (0-23) Whole Number The hour to use in the date, from 0 – 23.
Minute Whole Number The minute to use in the date, from 0 – 59.
Time Zone to Use Option Set The timezone the input date is in. Can be a dynamic or one of the 75 static values supported by CRM:
– The User Running the Worklfow
– The Owner of the Record
– (GMT-10:00) Hawaii
The User Running the Worklfow

Output Parameters

Parameter Name Type Description
Date Date Time The date that was built based on the input values.