Example #1
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        #region Xử lý thời gian

        /// <summary>
        /// Lay ve ngay thang cua he thong.
        /// </summary>
        /// <returns></returns>
        public static DateTime GetSystemDate()
        {
            try
            {
                return(Convert.ToDateTime(TextUtils.GetTable("spGetDateSystem", null, "Table").Rows[0][0]));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }