System::TimeZone::GetUtcOffset 方法

TimeZone::GetUtcOffset method

返回指定本地时间的 UTC 偏移量。

virtual TimeSpan System::TimeZone::GetUtcOffset(DateTime time)=0
参数类型描述
时间DateTime用于计算 UTC 偏移量的时间

ReturnValue

指定本地时间的 UTC 偏移量

另见