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.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
this is the difference. ToUniversalTime does:
Instead ToLocalTime does:
So seems that the ToLocalTime function get the datetime from the server |
|||||
|