'Declaration
Public Function GetUtcOffset( _ ByVal dateTime As System.Date _ ) As System.TimeSpan
'Usage
Dim instance As NTimeZone Dim dateTime As System.Date Dim value As System.TimeSpan value = instance.GetUtcOffset(dateTime)
public System.TimeSpan GetUtcOffset( System.DateTime dateTime )
Parameters
- dateTime
- The date and time to determine the offset for.
Return Value
An object that indicates the time difference between the two time zones.