WikiFunctions.Tools.ConvertDate C# (CSharp) Method

ConvertDate() public static method

Returns the input date in the requested format (American or International). If another Locale is passed in the input date is returned. For en-wiki only.
public static ConvertDate ( string inputDate, Parsers locale ) : string
inputDate string string representing a date, any format that C# can parse
locale WikiFunctions.Parse.Parsers Locale of output date required (American/International/ISO)
return string
        public static string ConvertDate(string inputDate, Parsers.DateLocale locale)
        {
            return ConvertDate(inputDate, locale, false);
        }

Same methods

Tools::ConvertDate ( string inputDate, Parsers locale, bool AmericanInputDate ) : string
Tools