The Uptime Infrastructure Monitor 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.

  • No labels