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