Utilities.LocalTimeToUTCTime method

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

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

Syntax


Utilities.LocalTimeToUTCTime( _
  ByVal LocalTime _
)

Parameters

LocalTime [in]

The local time to be converted to Coordinated Universal Time.

Return value

The Coordinated Universal Time that corresponds to the specified local 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

Redistributable

CAPICOM 2.0 or later on Windows Server 2003 and Windows XP

DLL

Capicom.dll

See also

Utilities

 

 

Show: