2
至今回報我有ServiceStack日期字符串返回:2013-08-25T12:06:32.8770000但錯誤時轉換爲達特飛鏢DateTime.parse()字符串由ServiceStack
日期DateTime.parse(mapAccount[Account.RECCREATED]);
就OK了通話時
DateTime.parse((mapAccount[Account.RECCREATED] as String).substring(0, 26));
反正是有解決它。謝謝。
你會得到什麼錯誤? – Fox32
這是錯誤:打破例外:非法參數:2013-08-25T12:06:32.8770000 例外:非法證據:2013-08-25T12:06:32.8770000 DateTime.parse(dart:核心/ date_time.dart:67:7) –
同樣的問題,我用web api休息(c#) – toregua