We have got two method in Sharepoint to get the time. One is ToUniversalTime() an secound is ToLocalTime() But when we are in server and have got a aplication instaled on server which kind data method is better ? If wee set a ToLocalTime it will take a time from server or from local machine loging to our aplication ? Please help.
this is the difference.
Instead ToLocalTime does:
So seems that the ToLocalTime function get the datetime from the server