I\'m deploying a .NET applications to another machine.
in console application, the value of
DateTime.Today.ToLongDateString();
is
It's likely to be the culture of the machine itself - you say you're deploying to a different machine.
Which culture do you want it to be in?
EDIT: Your options are:
The last one is the least invasive, to be honest. Most methods like String.Parse
etc have an overload with an IFormatProvider
parameter. You can specify this as the relevant CultureInfo
.