Share via


CustomTimeZone.ToLocalTime Method

Returns the local time that corresponds to a specified date and time value.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Overrides Function ToLocalTime ( _
    time As DateTime _
) As DateTime
public override DateTime ToLocalTime(
    DateTime time
)
public:
virtual DateTime ToLocalTime(
    DateTime time
) override
abstract ToLocalTime : 
        time:DateTime -> DateTime  
override ToLocalTime : 
        time:DateTime -> DateTime
public override function ToLocalTime(
    time : DateTime
) : DateTime

Parameters

Return Value

Type: System.DateTime
A DateTime object whose value is the local time that corresponds to time.

.NET Framework Security

See Also

Reference

CustomTimeZone Class

Microsoft.TeamFoundation.Common Namespace