public bool SubmitDateOption(string po, string name, DateTime value) { try { PoTransactions pt = new PoTransactions(po); //DateTime dtime = DateTime.Parse(value); bool result = pt.setDateOption(name, value); return(result); } catch (Exception e) { Log.Error(e); return(false); } }