When I create a new sharepoint site collection, is there some way I can automatically set the regional settings to my local settings as part of the creation process? In particular, I want to set the default date/time format to be non-US.
Thanks
When I create a new sharepoint site collection, is there some way I can automatically set the regional settings to my local settings as part of the creation process? In particular, I want to set the default date/time format to be non-US.
Thanks
using code, you should check out the RegionalSettings of the SPWeb. For example, this would set it to UK (I've done this in on a Custom Site Definition):
CultureInfo cultureInfo = new CultureInfo("en-GB");
web.RegionalSettings.LocaleId = (uint)cultureInfo.LCID;
web.Update();