System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId method
Contents
[
Hide
]TimeZoneInfo::ConvertTimeBySystemTimeZoneId(const DateTimeOffset&, const String&) method
Convert time to the time in a specified time zone.
static DateTimeOffset System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId(const DateTimeOffset &date_time_offset, const String &destination_time_zone_id)
Parameter | Type | Description |
---|---|---|
date_time_offset | const DateTimeOffset& | Date and time to convert. |
destination_time_zone_id | const String& | Identifier of the destination time zone. |
ReturnValue
Converted date and time.
See Also
- Class DateTimeOffset
- Class String
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++
TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime, const String&) method
Convert time to the time in a specified time zone.
static DateTime System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime date_time, const String &destination_time_zone_id)
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
destination_time_zone_id | const String& | Identifier of the destination time zone. |
ReturnValue
Converted date and time.
See Also
- Class DateTime
- Class String
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++
TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime, const String&, const String&) method
Convert time to the time in a specified time zone.
static DateTime System::TimeZoneInfo::ConvertTimeBySystemTimeZoneId(DateTime date_time, const String &source_time_zone_id, const String &destination_time_zone_id)
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
source_time_zone_id | const String& | Identifier of the source time zone. |
destination_time_zone_id | const String& | Identifier of the destination time zone. |
ReturnValue
Converted date and time.
See Also
- Class DateTime
- Class String
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++