This documentation is archived and is not being maintained.

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)

public:
virtual DateTime ToLocalTime(
	DateTime time
) override

Parameters

time
Type: System::DateTime

A Coordinated Universal Time (UTC) time.

Return Value

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

Show: