adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / DateTimeHandling Class / ConvertTimeZone Method / ConvertTimeZone(DateTime,TimeSpan,TimeSpan) Method
The date/time to convert
The time zone bias of the src
The time zone bias to convert to


In This Topic
    ConvertTimeZone(DateTime,TimeSpan,TimeSpan) Method
    In This Topic
    Converts a DateTime from one time zone to another
    Syntax
    'Declaration
     
    
    <PureAttribute()>
    Public Overloads Shared Function ConvertTimeZone( _
       ByVal src As Date, _
       ByVal srcTZBias As TimeSpan, _
       ByVal targetTZBias As TimeSpan _
    ) As Date
    [Pure()]
    public static DateTime ConvertTimeZone( 
       DateTime src,
       TimeSpan srcTZBias,
       TimeSpan targetTZBias
    )
    [Pure()]
    public:
    static DateTime ConvertTimeZone( 
       DateTime src,
       TimeSpan srcTZBias,
       TimeSpan targetTZBias
    ) 

    Parameters

    src
    The date/time to convert
    srcTZBias
    The time zone bias of the src
    targetTZBias
    The time zone bias to convert to
    See Also