Data Import & Export

Convert SAP Dates (dd.mm.yyyy) to Microsoft Access Date/Time

Jason MillerJason Miller Oct 23, 2026 870 views

Question details

The user needs to convert SAP date text strings (formatted as dd.mm.yyyy) into proper Microsoft Access Date/Time values to enable date calculations like DateDiff.

How to Convert SAP Dates (dd.mm.yyyy) to Dates in Microsoft Access
Product
Microsoft Access / Spreadsheets
Device & OS
not provided
Scenario
Importing exported SAP spreadsheet data into a Microsoft Access database.
Observed behavior
SAP dates containing periods are recognized as Short Text rather than Date/Time, preventing date-based functions from working correctly.
Before you start

Make sure you do not use the reserved word 'Date' as a field name in your database, and verify your system's regional date settings.

Solution 1Recommended

Convert Dates Using an Access Append Query

Use Access built-in functions to parse and convert the text string during the import process or within an append query.

Microsoft Access stores dates as numeric Date/Time values rather than as a display format. By manipulating the text string to a recognizable date format, Access can properly convert it.

1
Create the Conversion Expression

In your Access query, use the Replace function to change periods to hyphens, and wrap it in DateValue. In the Field row of your query design, enter: CallDate: DateValue(Replace([SapDate], ".", "-")).

2
Store the Converted Value

Ensure the destination field in your Access table is explicitly set to the Date/Time data type so it stores the numeric date value correctly.

3
Preserve Original Data

If necessary for data integrity, keep the original SAP date value stored in a separate Short Text field alongside the new Date/Time field.

Convert Dates Using an Access Append Query
Reserved Words: Avoid using 'Date' as a field name in your tables, as it is a reserved word in Microsoft Access and will cause calculation errors.
Free Microsoft Office alternative

Prepare SAP Exports Seamlessly with WPS Office

While Microsoft Access handles the database side, you often need a reliable spreadsheet tool to clean and prep SAP exports. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office. It offers a familiar interface, making it easy to process large datasets, fix date formats, and prepare your data for database imports.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
  2. 2. Open SAP Export: Launch WPS Spreadsheet and open your SAP exported file.
  3. 3. Clean Date Formats: Use the built-in Find and Replace tool to format your dates perfectly before database import.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv) for seamless SAP data preparation.Lightweight design ensures fast opening of large data exports without lagging.Familiar user interface means zero learning curve for cleaning data.Free built-in tools for batch Find & Replace and Text-to-Columns operations.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Access import my SAP dates as Short Text?

Access relies on system regional settings to identify dates. The 'dd.mm.yyyy' format using periods is often not recognized as a standard date pattern out of the box, causing Access to default to storing it as a text string.

Why shouldn't I name my field 'Date' in Access?

The word 'Date' is a reserved built-in function in Access that returns the current system date. Using it as a field name causes naming conflicts and syntax errors in queries, expressions, and VBA code.

Will the DateValue function work for all text dates?

The DateValue function works successfully if the text string closely resembles a recognized date format. Replacing periods with hyphens (e.g., '28-09-2022') usually helps the function accurately interpret the string as a valid date depending on your Windows regional settings.