System::DateTimeOffset::ToOffset method
DateTimeOffset::ToOffset method
Replace current object offset by the specified offset.
DateTimeOffset System::DateTimeOffset::ToOffset(TimeSpan offset) const
Parameter | Type | Description |
---|---|---|
offset | TimeSpan | UTC-offset. |
ReturnValue
Current DateTimeOffset object converted to the date and time with specified offset.
See Also
- Class DateTimeOffset
- Class TimeSpan
- Class DateTimeOffset
- Namespace System
- Library Aspose.Page for C++