Example #1
0
 /// <summary>
 /// hàm thực hiện lấy barcode cho bệnh nhân
 /// </summary>
 /// <param name="sOrder"></param>
 /// <returns></returns>
 public string GetPid(string sOrder)
 {
     return(DateAndTime.Now.Year + VB6.Right("0" + DateAndTime.Now.Month, 2) +
            VB6.Right("0" + DateAndTime.Now.Day, 2) + VB6.Right("0" + DateAndTime.Now.Hour, 2) +
            VB6.Right("0" + DateAndTime.Now.Minute, 2) + VB6.Right("0" + DateAndTime.Now.Second, 2) + sOrder);
 }