---
title: "Aspose::Email::Mapi::MapiConversionOptions::set_PreserveEmptyDates method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapiconversionoptions/set_preserveemptydates/"
product: "Aspose.Email for C++"
description: "Sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message."
---


## set_PreserveEmptyDates {#set_preserveemptydates}

Sets a value indicating whether it is necessary to generate new saving and modification dates when converting a message.

**Returns:** void Aspose::Email::Mapi::

```cpp
set_PreserveEmptyDates(bool value)
```

| Parameter | Description |
| --- | --- |
| value |  |

