Test condition: I have 2 short form dates (mm/dd/yy) in a csv file 30 days apart
12/06/29
01/05/30
When I read the file with calc (using other options Detect special numbers)
and click on each cell
the first one is 12/06/2029
but the second one is 01/05/1930 (I expected 2030)
Expanding the example, any date from 2025 to 2029 converts correctly, but any date from 2030 on converts to xx/xx/19xx
And if I then format cells to a longer date format, it verifies the problem
Of course if I use the longer form for the dates (mm/dd/yyyy), everything is correct.
Windows 10
[Solved] 2-digit date conversion inconsistency
[Solved] 2-digit date conversion inconsistency
Last edited by robleyd on Mon Oct 06, 2025 7:29 am, edited 1 time in total.
Reason: Tag Solved, add green tick
Reason: Tag Solved, add green tick
Open Office 4.1.8 installed on Windows 10
Re: conversion to date inconsistency
There is a setting for changing this. Choose the menu item Tools -> Options and expand the OpenOffice list on the left. Click on General and increase the year that defaults to 1930.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
- MrProgrammer
- Moderator
- Posts: 5338
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: 2-digit date conversion inconsistency
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: 2-digit date conversion inconsistency
Thanks FJCC
I was able to change what you described to 2000. Now all my dates are in this century as I wanted.
and thanks MrProgrammer for the link to Date windowing information
I was able to change what you described to 2000. Now all my dates are in this century as I wanted.
and thanks MrProgrammer for the link to Date windowing information
Open Office 4.1.8 installed on Windows 10
Re: [Solved] 2-digit date conversion inconsistency
If a custom template is used, this setting must be changed in the template in order to use it as the default.
AOO 4.1.15 & LO 25.2.5 on Windows 10