C# make DateTime.TryParse() NOT assume year

后端 未结 0 1193
忘了有多久
忘了有多久 2021-01-14 09:21

The DateTime.TryParse() method in C# will assume current year if there\'s no year specified. I want a function that will return false if the year i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题