Supports using SRP_DateTime in an IConv.
A datetime in OI internal format.
The "IConv" service adds support for using SRP_DateTime as a custom converter in IConv. All you have to do is set the IConv Conversion parameter to "[SRP_DATETIME]" and your data will be parsed using the default format for the user's current Windows locale settings.
If you want to set a format to guide the parsing process as explained in the Parse service, use IConv's branch option, which looks like this "[SRP_DATETIME,<branch>]". In this case, <branch> will be any value you would have passed to the Parse 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 IConv 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)]"