ConvertTimeToUtc()
TimeZoneInfo::ConvertTimeToUtc(DateTime, const TimeZoneInfoPtr&) method
Converts time to UTC-time.
static DateTime System::TimeZoneInfo::ConvertTimeToUtc(DateTime date_time, const TimeZoneInfoPtr &source_time_zone)
Arguments
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
source_time_zone | const TimeZoneInfoPtr& | Source time zone. |
Return Value
Converted date and time.
TimeZoneInfo::ConvertTimeToUtc(DateTime) method
Converts time to UTC-time.
static DateTime System::TimeZoneInfo::ConvertTimeToUtc(DateTime date_time)
Arguments
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
Return Value
Converted date and time.
See Also
- Typedef TimeZoneInfoPtr
- Class DateTime
- Class TimeZoneInfo
- Namespace System
- Library Aspose.Slides