I need to return server time from a webservice. I've got the following code:
<WebMethod()> _
Public Function GetDate() As DateTime
Return DateTime.Now
End Function
The code always returns time based on timezone of the connected client (if I change the time zone, the webservice returns updated time, instead of local server time). How can I fix the issue?