System::TimeZoneInfo::ConvertTime method
Contents
[
Hide
]TimeZoneInfo::ConvertTime(const DateTimeOffset&, const TimeZoneInfoPtr&) method
Convert time to the time in a specified time zone.
static DateTimeOffset System::TimeZoneInfo::ConvertTime(const DateTimeOffset &date_time_offset, const TimeZoneInfoPtr &destination_time_zone)
Parameter | Type | Description |
---|---|---|
date_time_offset | const DateTimeOffset& | Date and time to convert. |
destination_time_zone | const TimeZoneInfoPtr& | Destination time zone. |
ReturnValue
Converted date and time.
See Also
- Class DateTimeOffset
- Typedef TimeZoneInfoPtr
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++
TimeZoneInfo::ConvertTime(DateTime, const TimeZoneInfoPtr&) method
Convert time to the time in a specified time zone.
static DateTime System::TimeZoneInfo::ConvertTime(DateTime date_time, const TimeZoneInfoPtr &destination_time_zone)
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
destination_time_zone | const TimeZoneInfoPtr& | Destination time zone. |
ReturnValue
Converted date and time.
See Also
- Class DateTime
- Typedef TimeZoneInfoPtr
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++
TimeZoneInfo::ConvertTime(DateTime, const TimeZoneInfoPtr&, const TimeZoneInfoPtr&) method
Convert time from one time zone to another.
static DateTime System::TimeZoneInfo::ConvertTime(DateTime date_time, const TimeZoneInfoPtr &source_time_zone, const TimeZoneInfoPtr &destination_time_zone)
Parameter | Type | Description |
---|---|---|
date_time | DateTime | Date and time to convert. |
source_time_zone | const TimeZoneInfoPtr& | Source time zone. |
destination_time_zone | const TimeZoneInfoPtr& | Destination time zone. |
ReturnValue
Converted date and time.
See Also
- Class DateTime
- Typedef TimeZoneInfoPtr
- Class TimeZoneInfo
- Namespace System
- Library Aspose.PDF for C++