Converts the value of the date to Coordinated Universal Time (UTC).

Namespace: BlueCieloECM.InnoCielo.Meridian
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public static DateTime ToUniversalTime(
	DateTime date
)
Visual Basic
Public Shared Function ToUniversalTime ( _
	date As DateTime _
) As DateTime
Visual C++
public:
static DateTime ToUniversalTime(
	DateTime date
)

Parameters

date
Type: System..::..DateTime
Date to convert.

Return Value

A DateTime object of which Kind property is UTC, and the value of which is the UTC equivalent of the value of the 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 less than or equal to OLEBaseTime.

See Also