Skip to main content

To followup with further functionality from Using the Format this Value Feature , on-premise formatting of dates can be accomplished within actions on the fly. In the previous post we see how we can specify a return value for Person or Group values from fields or variables. Here I wanted to quickly show that this is also available for Date fields and variables as well.

 

In this example I am using a Set Variable action to set a Single Line of Text variable the value of a DateTime workflow variable. By selecting the ellipsis to the right of the variable drop down I can then specify the return type to save to the text variable. The available options are As String, ISO Formatted, Long Date, Long Time, Short Date, and Short Time.

 

69191_pastedImage_1.png

This post would be even more amazing if you included what the return types result in (e.g. MM/DD/YYYY).

  1. As String:    1/2/2016 12:00:00 AM
  2. ISO Formatted:    2016-01-02T06:00:00Z (Zulu – GMT)
  3. Long Date:    Monday, January 02, 2016
  4. Long Time:    12:00:00 AM
  5. Short Date:    1/2/2016
  6. Short Time:    12:00 AM

Reply