Monday, May 18, 2015

CRM DateTime Workflow Utilities

Even more custom workflow activities, this time for dealing with date and time values in Dynamics CRM 2011, 2013, and 2015.
  • Add Business Days – Adds business days to a date/time
  • Add Days – Adds days to a date/time
  • Add Hours – Adds hours to a date/time
  • Add Minutes – Adds minutes to a date/time
  • Add Months – Adds months to a date/time
  • Add Years – Adds years to a date/time
  • Date Difference Days – Calculates difference between dates in days
  • Date Difference Hours– Calculates difference between dates in hours
  • Date Difference Minutes– Calculates difference between dates in minutes
  • Date Difference Months– Calculates difference between dates in months
  • Date Difference Years– Calculates difference between dates in years
  • Get Day Number Of Week – Gets the number of the day of the week for a date/time
  • Get Day Number Of Year– Gets the number of the day of the year for a date/time
  • Get Day Of Week – Gets the word for the day of the week for a date/time
  • Get Quarter Number Of Year – Gets the number of the quarter of the year for a date/time
  • Get Week Number Of Year – Gets the number of the week of the year for a date/time
  • Get Month Start/End Dates – Gets the starting and ending dates for the month of a date/time
  • Get Quarter Start/End Dates – Gets the starting and ending dates for the quarter of a date/time
  • Get Week Start/End Dates – Gets the starting and ending dates for the week of a date/time
  • Get Year Start/End Dates – Gets the starting and ending dates for the year of a date/time
  • Is Between – Checks if a date/time is between 2 others
  • Is Business Day – Check if a date/time is a business day
  • Is Same Day – Compares 2 date/times to see if they fall on the same date
  • Relative Time String – Looks at the time passed between 2 dates and returns values like "2 months ago" or "5 hours ago”
  • ToDateTime – Convert text to a valid date/time
  • To UTC String – Format date/times based on a specified culture
If you have ideas for new functionality, suggest it on the discussions page for the project.

CRM 2015 organizations look for the v2.0.0.0 release while CRM 2011 and 2013 uses the v1.0.0.0 release.

Download it from CodePlex:
https://crmdatetimeworkflowutilities.codeplex.com/