Office 365 Workflows for SharePoint Designer 2013

Convert date to a string

This activity converts date to a string in custom format and stores the result.


Input parameters

Parameter Description Example
The following date DateTime value which you want to convert to string. CurrentItem:Created 12/12/2016
The following format (optional) .Net format string which you want to use for converting dare to string. See MSDN online for custom date time formats. M/d/yyyy M/d/yy MM/dd/yy MM/dd/yyyy yy/MM/dd yyyy-MM-dd dd-MMM-yy
Variable retVal (set by this activity). Contains result of DateTime conversion to string.