Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint 2013 : Showing date in user selected time zone

$
0
0
Hi ,
  1. No server side code to be written.
  2. We have custom column which stores date.
  3. SharePoint displays the date using the time zones defined as following-
    1. The time zone selected in My site settings.
    2. Or Regional settings of site(SPWeb) object where list item resides.
  4. We need to display this date in content search web part.
  5. We are using managed property for that column to display date.
  6. In SharePoint managed properties hold date in UTC format.
  7. Now actually we want the date should be displayed according to the condition a. and b. given in point 2.
  8. We have found a date time formatting in one of the hover temple which is out of box but we tried and found that it is using current browser/machine (client side) settings, which we don’t want.
  9. We assume this may be already handled in SharePoint 2013 display templates but we are not able to figure it out.

Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>