UtilsToUniversalTime Method |
Converts the value of the date to Coordinated Universal Time (UTC).
Namespace: BlueCieloECM.InnoCielo.MeridianAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntax public static DateTime ToUniversalTime(
DateTime date
)
Public Shared Function ToUniversalTime (
date As DateTime
) As DateTime
public:
static DateTime ToUniversalTime(
DateTime date
)
static member ToUniversalTime :
date : DateTime -> DateTime
Parameters
- date
- Type: SystemDateTime
Date to convert.
Return Value
Type:
DateTime
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