## KoreanCalendar::ToDateTime(int, int, int, int, int, int, int) const method


Constructs [DateTime](../../../system/datetime/) object from components.

```cpp
virtual DateTime System::Globalization::Calendar::ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year. |
| month | int | Month. |
| day | int | Day. |
| hour | int | Hour. |
| minute | int | Minute. |
| second | int | Second. |
| millisecond | int | Millisecond. |

### ReturnValue

[DateTime](../../../system/datetime/) object that has specified components.

## See Also

* Class [DateTime](../../../system/datetime/)
* Class [KoreanCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.TeX for C++](../../../)
## KoreanCalendar::ToDateTime(int, int, int, int, int, int, int, int) const method


Constructs [DateTime](../../../system/datetime/) object from components.

```cpp
DateTime System::Globalization::KoreanCalendar::ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year. |
| month | int | Month. |
| day | int | Day. |
| hour | int | Hour. |
| minute | int | Minute. |
| second | int | Second. |
| millisecond | int | Millisecond. |
| era | int | Era. |

### ReturnValue

[DateTime](../../../system/datetime/) object that has specified components.

## See Also

* Class [DateTime](../../../system/datetime/)
* Class [KoreanCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.TeX for C++](../../../)
