惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

博客园 - 兰亭

【转】优秀的人才是免费的,平庸的人才是昂贵的 [转]泰坦尼克号禁播的内容,震撼 [转]Android基础类库 我的2012 SQL SERVER默认工作线程数过少导致数据库阻塞[已解决] Delphi TrayIcon任务栏图标毛边问题[部分解决] [转]一篇好文,以在迷茫时阅读 宝宝该吃什么?还能吃什么? 借刀杀兔(冷笑话) SQL SERVER 2005 导入数据 令人啼笑皆非的《银河系漫游指南》 我的2007 不可否认,傲游(Maxthon)确实越来越垃圾 轻量级Ajax解决方案:Anthem.NET初探 FCKeditor的中文文件名解决方案 执行动态SQL语句时传入参数 [转贴]程序员如何防止脑疲劳:下午补充一些干果 [转贴]细说HTML元素的ID和Name属性的区别 在.NET中使用Access数据库的注意事项
令人郁闷的DateTime.ToString()方法
兰亭 · 2008-01-14 · via 博客园 - 兰亭

想让日期输出为"2008/01/15",这样的样式,自然而然地想到了DateTime.Today.ToString("yyyy/MM/dd"),输出结果竟然是"2008-01-15"。

这也难怪,操作系统是中文的,可能是自动应用了区域语言设置了。没办法,多走两步了:
string.Format(

"{0:yyyy}/{0:MM}/{0:dd}", DateTime.Today)