Share via


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

Return Value

Type: System.DateTime

See Also

Reference

SharePointTimeZone Class

SharePointTimeZone Members

Microsoft.Office.Server.Utilities Namespace