I have a nice function setup for formatting dates as per http://stackoverflow.com/questions/461098/leading-zero-date-format-c-asp-net
But it turns out in our farm we have some blades running on a UK locale and some on a US locale so depending on which it crashes.
So what I'm after is how do I test the current server locale?
Something like...
if(Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName == "GB"){
...
}
else
{
..otherstatement
}
Ta