Get last modified date and time of sharepoint site through Search

Hi All,
I am trying to get the last updated date and time of a sharepoint site using KeywordQuery.
For this I updated an existing list item, added a new item in a site and crawled the content. Then I used "ContentClass:STS_Site" as query in C# code to fetch the search results. I am able to get most of the properties I require for that
site. However "LastModifiedTime" does not return the correct value. It returns an older value.
How can I get the last updated date of a sharepoint site using search ?
Regards,
Vipul Kelkar

No, unless you can use an FTP client.

Similar Messages

  • How to get last modified date and time of a file which is in apache server.

    Hi ,
    I need to get last modified date and time of a file in remote machine.
    This file is in remote machine which has apache server installed.
    I am trying to get this information by connecting to apache server from client by giving absolute URI of the file to file object.
    URI is got from apache server URL by using toURI method.
    when I use lastModified method , its throwing exception , because scheme of URI is not file.
    I can't give scheme as file because ftp server is not installed on that server
    Is there any other way to get this information .

    No, unless you can use an FTP client.

  • How to find the Last modified date and time of a package

    Hi,
    We need a clarification on how to find the Last modified date and time of a package in Oracle. We used the example below to explain our scenario,
    Lets consider the following example
    Let A, B be two packages.
    Package A calls the package B. So A is dependent on B.
    When A is compiled the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated.
    Now there a modification in package B so it is compiled. There is no modification in package A.
    Now when the package A is executed the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated but we did not make any change in Package A. Now we need to find last modified date and time of the package A . So we can not rely on the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS . Can u please tell us any other solution to get last modified date and time of the package A .
    Regards,
    Vijayanand.C

    Here is an example:
    SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
    2 WHERE OBJECT_NAME = ANY('A','B');
    OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
    A 20-MAY-2004 10:57:32 20-MAY-2004 10:57:32 2004-05-20:10:57:32 VALID
    B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 VALID
    SQL> CREATE OR REPLACE PROCEDURE A AS
    2 BEGIN
    3 NULL;
    4 NULL;
    5 END;
    6 /
    Procedure created.
    SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
    2 WHERE OBJECT_NAME = ANY('A','B');
    OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
    A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
    B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 INVALID
    SQL> EXEC B
    PL/SQL procedure successfully completed.
    SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
    2 WHERE OBJECT_NAME = ANY('A','B');
    OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
    A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
    B 20-MAY-2004 10:58:22 20-MAY-2004 11:01:53 2004-05-20:11:01:53 VALID
    Note that the date under the column 'created' only changes when you really create or replace the procedure.
    Hence you can use the column 'created' of 'user_objects'.

  • Reportable Last Modified Date and Time Field

    Reportable Last Modified Date and Time Field
    Hello,
      We need a reportable RequestCenter 'last modified date/time' database field that is refreshed when the 'Comments and History' field is updated.  Any ideas would be appreciated.  Thanks! 

    No, unless you can use an FTP client.

  • Getting last login dates and times for graphical/xwindows logins?

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

  • Last execution date and time of a transaction

    Hi,
    Could anyone let me know the procedure to find the last execution date and time of a transaction (for example MM01/MM02). We are currently working on ECC6.0
    Raja

    Hi Raja,
    Check table CDHDR, fetch data against T code MM01/MM02 and get MAX(UDATE) and MAX(UTIME).
    You will get last execution date and time.
    Please reqward ponits if it useful.
    Regards
    Krish

  • Force Crawler in Maint Mode to Ignore Last Modified Data and Re-Index All

    We are running SES 10.1.8.4 with the Siebel 7.8 data source patches 8533402 and 8624308 to index documents (PDF, XLS, DOC, PPT) via RMI and Decompression Tool in Siebel. This data source is virtually identical to the database data source.
    The crawler will not "fail" if the actual indexing of the attachment file itself fails. For example, if RMI is down on the Siebel server and the crawler runs, SES will index the document metadata returned in the SQL but not the document. If the client then starts the RMI utility and re-runs the crawler, the document that was not indexed will not be re-indexed because the data source's last crawl time is used against the data sources last modified date attribute.
    Here is the pseudo SQL for the initial crawler query in maintenance mode....
    SELECT .... FROM MY_VIEW WHERE LASTMODIFIEDATE > TIME OF LAST DATA SOURCE CRAWL
    We have found a way to update the data source's last crawl time (DS_LAST_CRAWL) in the EQ$_DATA_SOURCE table. For now, we simply are using SYSDATE - 1.
    This will allow the missed document to be returned in the initial query.
    However, it's the crawler's document-level last modified date check within the crawler that is preventing the re-index. Since the document's last modified date is the same as what SES has, SES skips over it thinking it has not changed. True, it has not changed but it was missed during the last re-crawl and we want it to be indexed again.
    The client does NOT want to perform a full re-index because of the anticipated volume of attachments.
    Is there any way to tell the crawler to ignore the document-level last modified date and re-index everything returned from the initial query? Perhaps one of the other columns in the EQ$_DATA_SOURCE (DS_STATUS, DS_CRAWLING_MODE) holds the key?
    Thanks!

    I think it might be possible to set ENQUEUE_STATUS = 'Y' in the table EQ_TEST.EQ$URL. You may need to call eq_adm.use_instance(1) before doing so.
    However I'm not sure of the full implications of doing this - DON'T DO IT ON A PRODUCTION SYSTEM without carefully testing on a development system.

  • How to get the client date and time ?

    Dear Sirs...
    Using jdeveloper 10.1.2.0
    How can i get the client date and time using the HttpServletRequest ?
    thanks for any help in advance
    best regards

    If your code is running on the client pc you can just create a new instance of the java.util.Date class. That class automatically defaults to the current time of the client machine. Otherwise if you're running the code on the server, you could insert/post the client date/time by adding its string representation as a parameter to the HTTP request object.
    Ronald

  • Get the Current Date and Time of a Location

    I have created a windowsPhoneApplication in silverLight 8.1.In my application,I have to upload videos on some server.The Uploading get failed If the Date and Time settings of my device is not the current Date and Time.So How can I get the current date
    and time even if the device settings is wrong?

    Hi shifana,
    Do you know server's time zone? If yes, you can manually translate to the correct time zone.
    Otherwise try some online time acquire API.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to retrieve users logging-in and logging-out date and times in SharePoint

    At the moment I am using SherePoint 2013 with a few tenants.
    I am going to have access to the users logging-in and logging-out dates and times.
    For instance, I would like to know the detail of the dates and times which a particular user of a tenant has logged-in and logged-out during the past few months.
    Any idea?

    You can retrieve that info from the IIS log files. Maybe you can use a free IIS reporting tool that I've built and adjust it to your own needs, you can get it here:
    http://gallery.technet.microsoft.com/office/The-SharePoint-Flavored-5b03f323
    Btw, in a web environment usually there is no such thing as the log-out date and time because the end user just stops making requests. So, you've got to take a look at the last request and by default, after 20 minutes the session times out and you can assume
    the session has ended.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to get the current data and time of SCOM server via SCOM SDK (API) calls?

    Hi,
    I need to read the current date and time of SCOM server via SOM SDK.
    Is there a class in SDK that provides this info ?
    Thanks,
    satheesh

    To get time and date of Alerts of SCOM, You can use following command let "get-scomalert"
    Also, You can refer below links
    http://blog.tyang.org/2013/02/21/using-scom-2012-sdk-to-retrieve-resource-pools-information/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

  • How to get local file date and time ( 10g version )

    Hi,
    Would like to ask if there is any way to get the date and time of a local file. It seems that webutil does not have this function.
    And I want to use client_host ( dir c:\file.txt > c:\temp.txt ) and the read this file to get the file date.
    But the problem is the file date and time ( in the dir ) varies in different PCs.
    Best Regards,
    Ivan

    But the problem is the file date and time ( in the dir ) varies in different PCs.
    You mean the format of the date and time don't you?
    If so you maybe could create a java bean which does that for you using the lastModified Method of the File class.
    regards

  • Show the last edit date and time ?

    I can't find a way to see the actual date and time of the last edit made. I see where you can sort the view by this in grid mode.
    Has anyone figured this out?
    Thanks.

    You can see it in the Metadata panel with the EXIF or ALL sets. There isn't a way to display it on the image using View Options, however.

  • Getting user name, date and time into 1 field

    Hi All,
    I have to add a new field in a customising include of AUFK table. This field should have user name, date and time. How do I store all these values in a single field of the table? Please help.

    Ok Thanks all. Will try your suggestions. But there is one problem. As i have already mentioned that i will have to display this detail in one field of the table control, The format of display is: user name should be seen above and the date and time separated by space should be displayed below the name. How can i ultimately display this in the table control. Do i have to create 2 different fields (one for name and other for date and time) in the AUFK table or is there any other solution?
    Thanks

  • Getting locale specific date and time

    Hi,
    I am tyring to create a program which will display the current date and time for a specific locale. But I am clueless as to how to proceed.
    Please help me.
    Thanks

    examples:
    servers and protocols: http://tf.nist.gov/service/its.htm
    a simple java client using the daytime protocol: http://www.cafeaulait.org/course/week12/18.html
    (u can use the simpledateformat class to parse the output string to a java date)

Maybe you are looking for

  • Export quality for desktop viewing:

    I am using PPCS3 to export a short movie (5 minutes) that I would like to ONLY show on my desktop. My desktop resolution is 1280 x 800 pixels. When I export the movie using MPEG (NTSC High Quality - Lower Field), the quality of the full screen DVD us

  • Button Pointing to audio file in same directory

    I'm fairly new to Flash, but have gotten the hang of it for the most part. I'm trying to create audio buttons that will play vocabulary words when clicked on for a language learning website. I can create buttons that play audio when clicked, but as o

  • Problem with combobox

    I have a panel in table view. One of the fields, I have changed to a combo box. It works good except for one problem. When testing, I set the text in the field using the combo box. If I go directly to another record, in the same column, when i change

  • HFM 4.01 Metadata Management

    <p>I have just re-installed Hyperion HFM 4.01 in my laptop, andwhile I can load an xml file to change my metadata without a hitch,I am not able to review the dimensions using the interface. Itappears to load the xml or app file, but when I select the

  • My ipod got very low battery and now won't connect with itunes?

    My ipod got an extremely low battery and now it won't connect to itunes or charge when connected with the usb. I had not trouble connecting before this