C# 应用程序中的日期组件
我的 C# 应用程序中有一个组件提供如下字符串:
"2020/1/1"
"2012/2/12"
但我想将主题更改为以下格式:
"2020/01/01"
"2012/02/12"
I have a component in my c# application that provide string like these:
"2020/1/1"
"2012/2/12"
But I want to change theme to these format:
"2020/01/01"
"2012/02/12"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

我相信这种方法足够简单,以便于您:
I believe this approach is simple enough for your convenience :