SharePointTimeZone.ConvertSiteTimeToUTC Method
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Function ConvertSiteTimeToUTC ( _
dtSiteTime As DateTime _
) As DateTime
'Usage
Dim instance As SharePointTimeZone
Dim dtSiteTime As DateTime
Dim returnValue As DateTime
returnValue = instance.ConvertSiteTimeToUTC(dtSiteTime)
public DateTime ConvertSiteTimeToUTC(
DateTime dtSiteTime
)
Parameters
- dtSiteTime
Type: System.DateTime
Return Value
Type: System.DateTime