Tag Info

Hot answers tagged

3

For full explanation see Dealing with Multiple Time Zones in SharePoint 2010 var user = SPContext.Current.Web.CurrentUser; // Always perform a Null-Check on SPUser.RegionalSettings if (user.RegionalSettings != null) { return user.RegionalSettings.TimeZone.UTCToLocalTime(listDateUtc); } else { // User didn't set a time zone, so use the one from the ...


2

I tried it out on my Sharepoint environment. If I choose as the Regional Setting Malay (Brunei Darussalam), the accepted decimal separator is the "." (dot). If I choose Malay (Malaysia), the accepted decimal separator is the "," (comma). So I think you just have to choose the other Malay regional setting. No IIS reset was needed in my tests. I hope it ...


2

I don't think it's possible. You could create a webcontrol which shows the date like you want it. In case of a date in a list, you should use a content query webpart with a custom xsl If you want to show the date like you want it in a list: Create a Date column(Call Date1), leave it on the default view Then create another column for your text version date ...


1

When the fields are read-only, you can't change them as you have found out. But it's likely that this will change in the near future since Microsoft spend a lot of resources to extend the Office 365 API's


1

The property you are after is called LocaleId. It cannot be set after the site template has been set. As for the new sites: how are you creating them? In the portal after you click SP Admin Centre>New>Private you should have an option to choose the language. From Powershell: new-sposite -owner -url -storagequota -localeid For English you should choose ...


1

Ok, so I figured this out (Edit: No I Didn't). It turns out, that there is a StorageTZ attribute on the Field element for CAML. You can set this value to UTC and then it will use the date as you pass it in instead of converting it to the users local time. For the Field element: http://msdn.microsoft.com/en-us/library/dd588183(v=office.11).aspx And this is ...


1

Actually it is possible, although a bit hacky. Check-out this blog post: http://dotnet.lv/blogs/antonsm/archive/2008/12/21/change-date-format-in-sharepoint.aspx I have been using this method a couple of times and it has worked fine in my cases.



Only top voted, non community-wiki answers of a minimum length are eligible