예제 #1
0
    private string thaiduedate(char[] engdate)
    {
        string  thaidate = "";
        utility utilObj  = new utility();

        string isday   = new string(engdate, 0, 2);
        string ismonth = new string(engdate, 2, 2);
        string isyear  = "20" + new string(engdate, 4, 2);

        thaidate = isday + " " + utilObj.getThaiMonth(ismonth) + " " + utilObj.getThaiYear(isyear);

        return(thaidate);
    }