/// <summary> /// /// </summary> /// <param name="doc"></param> /// <returns></returns> public static string GetDateStamp(XmlDocument doc) { XmlNode receiptNode = null; try { receiptNode = doc.DocumentElement.SelectSingleNode("/Transaction/Receipt"); } catch (XPathException xpe) { throw xpe; } return(SummaCommon.GetSummaFormattedTimestamp(receiptNode.Attributes["Date"].Value, receiptNode.Attributes["Time"].Value)); }
internal static string GetTimestamp(XmlNode productTotalNode) { return(SummaCommon.GetSummaFormattedTimestamp(productTotalNode.Attributes["Date"].Value, productTotalNode.Attributes["Time"].Value)); }