Bridge

DateTime..::..ToLocalTime Method

Converts the value of the current DateTime object to local time.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public DateTime ToLocalTime()
<TemplateAttribute> _
Public Function ToLocalTime As DateTime
[TemplateAttribute]
public:
DateTime^ ToLocalTime()

Return Value

An object whose Kind property is Local, and whose value is the local time equivalent to the value of the current DateTime object, or MaxValue if the converted value is too large to be represented by a DateTime object, or MinValue if the converted value is too small to be represented as a DateTime object.