Tag Info

Hot answers tagged

6

In 2010 Go to http://centraladminsite/_layouts/regionalsetng.aspx and change in there. This is hidden by default, but is part of the standard regional site settings.


5

What is the time zone set in SharePoint Central Administration? Go to the following link and see if the time zone matches what you expect: http://<CentralAdminUrl>/_layouts/regionalsetng.aspx Also check the regional settings for your Site Collection to see if the correct timezone is set.


4

You can change the Central Admin Time Zone from here: Central Admin -> Application Management -> Manage Web Applications -> SharePoint Central Administration v4 (The Central Admin Web Application) -> General Settings -> Default Time Zone


2

Problem is in method "onBeforeRendering", right after changing timezone of date, there is an used object named MutableDateTime, which kills all timezone settings. So this object returns correct time, but displays incorrect one


2

Actually you don't have to, time will be saved in Local time when adding list item, so you could just specify time value like this: listItem["DateTime"] = utc; Another option would be to retrieve SharePoint time zone and explicitly convert time into Local time using .NET Framework capabilities when saving list item as demonstrated below. ...


1

To get local time you can also you basic javascript Date functions.Try below: var currentDate= new Date(); currentDate.toTimeString();//Result format: 01:59:36 GMT+0530 (India Standard Time)


1

When creating the string representation of the date for sending to SharePoint, use the "u" format specifier. DateTime dt = new DateTime(2014,6,17,13,0,0); newItem["DueDate"] = dt.ToUniversalTime().ToString("u");


1

I have the same problem for any user who has changed their time zone in their regional settings to something different than the server. In my case, I set up a workflow to send a notification email for specific criteria in a list, however when the user that has a different time zone than the server creates the item, the date and time stamp in the email is ...


1

I believe this is working as designed. If you think about this in terms of an Airport - the departure times are always reported in the local time zone, not your own timezone, to do otherwise would lead to mass confusion.


1

To my knowledge there is no mechanism by default that could enabled you to do this. You could however rely on having top-level site push down same Regional Settings to sub-sites (via a event receiver monitoring changes) and in your DVWP rely on functions in the ddwrt namespace to format dates the same way for everyone (you could use LCID which is available ...


1

This is almost certainly a result of your timezone. When a Date Only picker returns a value, it returns a DateTime, where the time component is midnight for the local timezone - e.g. 2012-01-04 00:00:00. When this value is converted to UTC time, it can become a value for the previous day. For email, if the local timezone for the above datetime is +2, then ...



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