1.

Solve : %date% - issue on chinese computer?

Answer» <html><body><a href="https://interviewquestions.tuteehub.com/tag/hi-479908" style="font-weight:bold;" target="_blank" title="Click to know more about HI">HI</a> All<br/><br/>I have few scripts where each of them every time is running is creating log. The log contain current date.<br/>It looks like:<br/>&gt;&gt; %Date%_files<br/>Question is: can be handled on chinese computer <a href="https://interviewquestions.tuteehub.com/tag/correctly-409968" style="font-weight:bold;" target="_blank" title="Click to know more about CORRECTLY">CORRECTLY</a>?<br/>Scripts <a href="https://interviewquestions.tuteehub.com/tag/works-17618" style="font-weight:bold;" target="_blank" title="Click to know more about WORKS">WORKS</a> perfectly fine on computers in Europe but fail on computers in China.<br/>can you help?<br/><br/>example:<br/>echo.<br/>echo.---------------------------------------- &gt;&gt; %Date%_files_from_exceptions_and_ready_folders.Log<br/>echo.the script has been run %date% at %time% &gt;&gt; %Date%_files_from_exceptions_and_ready_folders.Log<br/>echo.---------------------------------------- &gt;&gt; %Date%_files_from_exceptions_and_ready_folders.Log<br/>echo.<br/><br/><br/>this casue script to fail on chinese computer, but is Ok on my comptuer with "european date format".<br/>Do you know how to solve it?<br/>It looks like date format on chinese computers can't be changed due to other issues.<br/><br/>Please advice.<br/><br/>BR<br/>Michalwhat does the Chinese date format <a href="https://interviewquestions.tuteehub.com/tag/look-544452" style="font-weight:bold;" target="_blank" title="Click to know more about LOOK">LOOK</a> like? Please give an example.<br/>Hi <br/><br/>Something like: <br/>中國人<br/><br/>that generate problem.<br/><br/>BR<br/>Michal<br/></body></html>


Discussion

No Comment Found