小编Ton*_*ony的帖子

.ToShortDateString returning different cultural format than expected

Here's a weird one for you.

We've got a c# interface that's been running since the beginning of the year without problem on a windows XP (32bit) PC. We've just upgraded the PC to windows 7 (64bit) with apps installed by SCCM.

With the latest run the dates in the text area have started appearing in US format (5/2/2014) instead of UK format (02/05/2014).

The code that is being used is:

string Lines = FromFormat.Text + " from " + …
Run Code Online (Sandbox Code Playgroud)

.net c# datetime sccm windows-7

6
推荐指数
2
解决办法
3万
查看次数

标签 统计

.net ×1

c# ×1

datetime ×1

sccm ×1

windows-7 ×1