問(wèn)題現(xiàn)象:用友暢捷通T+軟件固定資產(chǎn)模塊做“計(jì)提折舊與攤銷(xiāo)”和“變動(dòng)單”等操作時(shí)提示“The string was not recognized as a valid DateTime. There is an unknown word starting at index 9

The string was not recognized as a valid DateTime. There is an unknown word starting at index 9錯(cuò)誤提示圖片

原因分析:操作系統(tǒng)日期格式?jīng)]有設(shè)置好或者為ghost系統(tǒng)

解決方案:

1、將系統(tǒng)長(zhǎng)日期格式設(shè)置為yyyy'年'M'月'd'日',短日期格式設(shè)置為yyyy-MM-dd

2、點(diǎn)擊“開(kāi)始”-“運(yùn)行”輸入regedit,進(jìn)入注冊(cè)表,再依次進(jìn)入如下鍵值:HKEY_USERS\.DEFAULT\Control Panel\International,sLongDate設(shè)置為:yyyy'年'M'月'd'日',sShortDate設(shè)置為:yyyy/M/d,如下圖所示:

注冊(cè)表修改操作系統(tǒng)日期時(shí)間格式圖示

3、如果是ghost系統(tǒng),需要更換成純凈版系統(tǒng),這是由于部分ghost系統(tǒng)長(zhǎng)短日期格式?jīng)]有以上格式或由于缺少相關(guān)組件導(dǎo)致報(bào)錯(cuò)。