After few hours I still dont know how to do the following: Customer wants to display last 5 documents with search engine. I am able to write the query and also order the documents by modified date. However I am not able to fetch the modified date to search results. I can take the write element property however client wants also the time.
By default search results in the web part are displayed in DateOnly format.
This property could not be specified using web part editor, so please consider another options for specifying it value, for example SharePoint Designer.
For example, after specifying this property value to
<property name="DateFormat" type="Microsoft.SharePoint.Utilities.SPDateFormat, Microsoft.SharePoint, Version=188.8.131.52, Culture=neutral, PublicKeyToken=71e9bce111e9429c">DateTime</property>
write property would be displayed like this:
<write>2/12/2013 12:58 PM</write>