Utilities.UTCTimeToLocalTime method

[The UTCTimeToLocalTime method is available for use in the operating systems specified in the Requirements section.]

The UTCTimeToLocalTime method converts Coordinated Universal Time (Greenwich Mean Time) to the computer's local time.

Syntax

Utilities.UTCTimeToLocalTime( _
  ByVal UTCTime _
)

Parameters

UTCTime [in]

The Coordinated Universal Time to be converted to the computer's local time.

Return value

The local time that corresponds to the specified Coordinated Universal Time.

Remarks

While the system uses Coordinated Universal Time internally, applications generally display the local time, which is the date and time of day for the computer's local time zone.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Utilities