GetMonthNo() public static method

public static GetMonthNo ( string month ) : int
month string
return int
Example #1
0
        public DateTime ReturnGregorianDate(string am_date)
        {
            _date = am_date.Split('-');
            var ethDate = new EthiopianDate(int.Parse(_date[2]), EthiopianDate.GetMonthNo(_date[1]), int.Parse(_date[0]));

            ConvertedDate = ethDate.ToGregorianDate();
            return(ConvertedDate);
        }