You must Sign In to post a response.
  • Category: WCF

    WCF Service not working Properly

    My WCF service is show correct time in local host but when i am hosting service to NTP server it show wrong time getting utc server time.
  • #760378
    Hai Gaurav,
    This is the common issue when we upload the site to the hosting server, the problem is with the date format.
    You can use the dates with the Culture as below:

    var date= myDate.ToString("d", new CultureInfo("en-US"))

    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • #760384
    Hello Gaurav,

    Refer the below links for reference :

    Hope this will help you.

    Nirav Lalan
    DNS Gold Member
    "If you can dream it, you can do it."

  • Sign In to post your comments