## Date::Parse(const U16String\&) method


Parses a string into a [Date](../) using default format rules.

```cpp
static Date Aspose::Cells::Date::Parse(const U16String &str)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const U16String\& | Input string. |

## ReturnValue

A parsed [Date](../) instance.

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Date::Parse(const U16String\&, const U16String\&) method


Parses a string into a [Date](../) using a specified format.

```cpp
static Date Aspose::Cells::Date::Parse(const U16String &str, const U16String &format)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const U16String\& | Input string. |
| format | const U16String\& | Format string. |

## ReturnValue

A parsed [Date](../) instance.

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
