---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/workbooksettings
---

# WorkbookSettings

## Overview

`WorkbookSettings` is a class in Aspose.Cells FOSS for C++.

Represents workbook-level settings that affect date handling and display formatting.

This class declares 6 methods for WorkbookSettings objects in C++ programs.
Available methods include: `GetCulture`, `GetDate1904`, `SetCulture`, `SetDate1904`, `WorkbookSettings`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: `WorkbookSettings`.

## Accessor Methods

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `WorkbookSettings` | `WorkbookSettings` | Read | Gets the workbook settings. |

## Methods

| Signature | Description |
|-----------|-------------|
| `WorkbookSettings()` → `WorkbookSettings` | Calls WorkbookSettings on this WorkbookSettings instance. |
| `WorkbookSettings()` |  |
| `GetDate1904()` → `bool` | Gets or sets whether the workbook uses the 1904 date system. |
| `SetDate1904(value: bool)` | Sets the date1904 value. |
| `GetCulture()` → `std::locale` | Gets or sets the culture used for display-string formatting. |
| `SetCulture(value: std::locale)` | Sets the culture value. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)