Supports using SRP_DateTime in an OConv.
A formatted string containing a human readable datetime.
The "OConv" service adds support for using SRP_DateTime as a custom converter in OConv. All you have to do is set the OConv Conversion parameter to "[SRP_DATETIME]" and your datetime will be formatted using the default format for the user's current Windows locale settings.
If you want to set the format used to render the datetime, use OConv's branch option, which looks like this "[SRP_DATETIME,<branch>]". In this case, <branch> will be any value you would have passed to the Format service's Format parameter. For example, you can use "[SRP_DATETIME,Long]" to use the culture's long format, or "[SRP_DATETIME,MM/DD/YYYY h:mm:ss tt]" to set a custom format.
If you want to set a locale, you can do it in the OConv branch by placing the locale name in parenthesis at the beginning of the branch. For example, "[SRP_DATETIME,(es-MX)Long]" sets the format to "Long" and locale to Spanish (Mexico). When you omit the locale, the user's current Windows culture is used.
If you need parenthesis in the format but don't want to specify a locale, you must prefix the branch with an empty parenthetical such as "[SRP_DATETIME,()(MM/DD/YYYY) (hh:mm:ss)]"