Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: %date% - issue on chinese computer  (Read 3227 times)

0 Members and 1 Guest are viewing this topic.

silberzin

    Topic Starter


    Rookie

    %date% - issue on chinese computer
    « on: September 08, 2010, 11:36:30 PM »
    Hi All

    I have few scripts where each of them every time is running is creating log. The log contain current date.
    It looks like:
    >> %Date%_files
    Question is: can be handled on chinese computer correctly?
    Scripts works perfectly fine on computers in Europe but fail on computers in China.
    can you help?

    example:
    echo.
    echo.---------------------------------------- >> %Date%_files_from_exceptions_and_ready_folders.Log
    echo.the script has been run %date% at %time% >> %Date%_files_from_exceptions_and_ready_folders.Log
    echo.---------------------------------------- >> %Date%_files_from_exceptions_and_ready_folders.Log
    echo.


    this casue script to fail on chinese computer, but is Ok on my comptuer with "european date format".
    Do you know how to solve it?
    It looks like date format on chinese computers can't be changed due to other issues.

    Please advice.

    BR
    Michal

    Salmon Trout

    • Guest
    Re: %date% - issue on chinese computer
    « Reply #1 on: September 08, 2010, 11:53:24 PM »
    what does the Chinese date format look like? Please give an example.

    silberzin

      Topic Starter


      Rookie

      Re: %date% - issue on chinese computer
      « Reply #2 on: September 09, 2010, 12:47:47 AM »
      Hi

      Something like:
      中國人

      that generate problem.

      BR
      Michal