Scheduler for WPF
ToUniversalTime メソッド (TimeZoneInfo)

C1.ScheduleCore アセンブリ > C1.Schedule 名前空間 > TimeZoneInfo クラス : ToUniversalTime メソッド
Converts the value of the local time to UTC time. Note that there may be different possible interpretations at the daylight time boundaries.
シンタックス
'宣言
 
Public Function ToUniversalTime( _
   ByVal dateTime As System.Date _
) As System.Date
public System.DateTime ToUniversalTime( 
   System.DateTime dateTime
)

パラメータ

dateTime

戻り値の型

The UTC DateTime.
例外
例外解説
dateTime.Kind is Utc and current time zone does not equal Utc -or- dateTime.Kind is Local and curernt time zome does not equal Local -or- dateTime value represents invalid time.
参照

TimeZoneInfo クラス
TimeZoneInfo メンバ