Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The up.time Windows agent uses the English US locale as its default setting. If a VBS script is handling dates and expecting them in a different format, add the following line at the beginning of the script with the appropriate country code:

SetLocale(xxxx)

For example: SetLocale(2057) for English UK

For a list of Locale IDs, please see the Reference List on the Microsoft MSDN site.