## DateTimeOffset::ToOffset method


현재 객체의 오프셋을 지정된 오프셋으로 교체합니다.

```cpp
DateTimeOffset System::DateTimeOffset::ToOffset(TimeSpan offset) const
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| offset | TimeSpan | UTC 오프셋. |

### ReturnValue

지정된 오프셋을 가진 날짜와 시간으로 변환된 현재 [DateTimeOffset](../) 객체.

## 또 보기

* Class [DateTimeOffset](../)
* Class [TimeSpan](../../timespan/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
