Learn the use of datetime.parseexact in C # (figure)
I did a test,
now = 2015/3/7, so the format string using "yyyy/m/d" is no problem, but there is a problem, if today is not number 7th, nor March?
If it's October, it's number 17th?
After testing, the original is compatible. The format string is still available using "yyyy/m/d", which does not need to be changed to "Yyyy/mm/dd", which is a much simpler solution.
Reference: http://www.php.cn/
I did a test,
now = 2015/3/7, so the format string using "yyyy/m/d" is no problem, but there is a problem, if today is not number 7th, nor March?
If it's October, it's number 17th?
After testing, the original is compatible. The format string is still available using "yyyy/m/d", which does not need to be changed to "Yyyy/mm/dd", which is a much simpler solution.
Reference: Https://msdn.microsoft.com/en-us/library/w2sa9yss.aspx