public static DateTime GetSystemDate() { try { return(Convert.ToDateTime(TextUtilss.getTable("spGetDateSystem", null, "Table").Rows[0][0])); } catch (Exception ex) { throw new Exception(ex.Message); } }
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); } }