摘要:
用于备忘录: 主要内容来自MSDN:C#内置了对于时间格式化的本地化。下面的代码中不仅有关于输入模式的设置,还包含了时间的区域性设置。 DateTime.Now.ToString("关键字")代码为官方提供: 下方有个人截图:图像的最前括号中的字母,即是格式化的关键字。usingSystem;usingSystem.Globalization;usingSystem.Threading;publicclassSample{publicstaticvoidM(){stringmsgShortDate="(d)Shortdate:.......";strin 阅读全文
posted @ 2011-03-09 11:01
程序员老李
阅读(867)
评论(0)
推荐(0)

浙公网安备 33010602011771号