Esempio n. 1
0
 public static DateTime GetSystemDate()
 {
     try
     {
         return(Convert.ToDateTime(TextUtilss.getTable("spGetDateSystem", null, "Table").Rows[0][0]));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 2
0
 public static DateTime GetBusinessDate()
 {
     try
     {
         return(Convert.ToDateTime(TextUtilss.getTable("spGetDate", null, "Table").Rows[0][0].ToString()));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }