My Web-based application (like most) follows the browser locale to format dates.
So if you configure British English as the preferred language in the browser, the ap
Not sure about QTP, but the windows scripting host handles it via SetLocale
Option Explicit
Dim originalLocale
originalLocale = GetLocale()
Dim aLocales
aLocales = Array("en-us", "es-es", "de")
Dim locale, aDates, d
For Each locale in aLocales
WScript.Echo locale
SetLocale locale
aDates = Array( Date(), DateValue("01/02/2015"))
For Each d in aDates
WScript.Echo FormatDateTime(d, 1)
WScript.Echo FormatDateTime(d, 2)
Next
WScript.Echo "-------------------------------------------------"
Next
SetLocale originalLocale