Converting a date such as 1/21/2008 11:09:05 AM to XML Date/Time Format. You might want to put this code into a MapHelper library, then reference it from a Scripting Functoid in a BizTalk Map.
public static string ConvertDateTimetoXmlDateTime(string inDate)
DateTime dtIn = DateTime.Parse(inDate);
return System.Xml.XmlConvert.ToString(dtIn, System.Xml.XmlDateTimeSerializationMode.Local);
return "invalid-Date/Time-conversion from value='" + inDate + "'";
How to solve Error “Add any types not known statically to the list of known types”
We needed to compare a C# date-time in string format to a DB2 TimeStamp format.
MSDN Documentation here: MSDN AdsUtil.vbs According to this TechNet article, you should be able to view, create and delete Virtual Directories in the IIS7 GUI admin tool, but I had difficulties with it. AdsUtil can be found here: c:inetpubAdminScripts (on machines running Windows 2008 and IIS7). It’s a VB/Script (.vbs suffix) and you should always […]