Hi ,
- No server side code to be written.
- We have custom column which stores date.
- SharePoint displays the date using the time zones defined as following-
- The time zone selected in My site settings.
- Or Regional settings of site(SPWeb) object where list item resides.
- We need to display this date in content search web part.
- We are using managed property for that column to display date.
- In SharePoint managed properties hold date in UTC format.
- Now actually we want the date should be displayed according to the condition a. and b. given in point 2.
- 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.
- We assume this may be already handled in SharePoint 2013 display templates but we are not able to figure it out.