## Date::ToString() const method


Converts this [Date](../) to its default string representation.

```cpp
U16String Aspose::Cells::Date::ToString() const
```


## ReturnValue

A formatted string.

## See Also

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


Converts this [Date](../) to a string using the specified format.

```cpp
U16String Aspose::Cells::Date::ToString(const U16String &format) const
```


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

## ReturnValue

A formatted string.

## See Also

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