SVN-Revision: r336
This commit is contained in:
tdx
2025-03-18 02:04:43 +00:00
parent 1d1a02033b
commit edb57a5c84
+4 -4
View File
@@ -856,10 +856,10 @@ namespace Lskj.PubInvoiceOut
isLogin = true;
string invoiceNr = resultObj["invoiceNr"] + "";
string invoiceDate = resultObj["invoiceDate"] + "";
long timestamp = Convert.ToInt64(invoiceDate);
DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1));//当地时区
DateTime time = startTime.AddMilliseconds(timestamp);
invoiceDate = time.ToString("yyyy-MM-dd HH:mm:ss.fff");
//long timestamp = Convert.ToInt64(invoiceDate);
//DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1));//当地时区
//DateTime time = startTime.AddMilliseconds(timestamp);
//invoiceDate = time.ToString("yyyy-MM-dd HH:mm:ss.fff");
string ghfBankAccount = resultObj["ghfBankAccount"] + "";
string ghfAddr = resultObj["ghfAddr"] + "";
string ghfTel = resultObj["ghfTel"] + "";