locked
Get Sharepoint server current time using webservice RRS feed

  • Question

  • Hi All,

    I want to get current time of Sharepoint server using web service. I want to create windows service based on that. Please help me how to get current time using sharepoint web service.

    Thanks in advance.

    Regards,
    Kaivan Shah

    • Moved by Mike Walsh FIN Wednesday, August 10, 2011 9:10 AM using web service is a programming question NOT general (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
    Wednesday, August 10, 2011 6:58 AM

Answers

  • Hi Kaivan Shah,

    As per knowledge, there is no sharepoint web service, which will give you server date time. But you can create simple asp.net  / WCF service and host it on sharepoint server. Then you can call this service anywhere.

    Here is useful link for you

    http://msdn.microsoft.com/en-us/library/system.web.services.webservice.context.aspx

    Hope it could help


    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
    • Marked as answer by Qiao Wei Friday, August 19, 2011 2:14 AM
    Wednesday, August 10, 2011 7:16 AM