Home >Backend Development >C#.Net Tutorial >How to solve the time format conversion error in IIS?

How to solve the time format conversion error in IIS?

零下一度
零下一度Original
2017-06-23 14:52:182050browse

Everything is normal when the program is running in VS, but in the release configuration, a time format conversion error "DateTime conversion failed" occurred in IIS. Modifying the time format has no effect, nor does modifying the configuration table. Finally, the research found that because the modification of the configuration table was not completed, many configuration tables involved time issues.

  1. First enter the registry and run -->regedit

  2. Enter the registry and find International, inside There is time configuration, but it will not work after modification here!

  3. Ctrl+F in the registry, search for "sShortTime", search throughout the article, and you will find the format "tt hh:mm:ss", then we need to modify the format and remove tt. .

The above is the detailed content of How to solve the time format conversion error in IIS?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn