CSV date issues in spreadsheets
Posted: 26 Jul 2020 13:58
I'm attempting to use data exported from from FH in csv format to populate a spreadsheet allowing me to manupulate the dates to link up with some external data.
Having successfully saved an ancestor's timeline to a csv file I expected to be able to open it in either LibreOffice or MS Excel and use some of the date functions to link up with a range of dates from another source I'm developing for my own amusement. However the csv formatted dates do not seem to exhibit the normal properties I would have expected and create some very strange values.
By way of example, below is a csv file opened in LibreOffice This appears as it does in FH query so no problem there, however even the simplest operation on a date creates very unexpected result. Even a simple copy inserting of cell values creates surprises as in cell D2 which has the simple formula of D2 = A2 So as can be seen 1804 become 10 Dec 1904 and similar anomalies can be seen further down the column, but some of the dates are copied faithfully. As this phenomenon seems common to both LibreOffice Calc and MS Excel I am beginning to suspect it is due to a peculiarity of how dates are formatted/stored in FH.
Does anyone have any ideas how these little gremlins can be tamed?
As always, many thanks in advance.
Brian
Having successfully saved an ancestor's timeline to a csv file I expected to be able to open it in either LibreOffice or MS Excel and use some of the date functions to link up with a range of dates from another source I'm developing for my own amusement. However the csv formatted dates do not seem to exhibit the normal properties I would have expected and create some very strange values.
By way of example, below is a csv file opened in LibreOffice This appears as it does in FH query so no problem there, however even the simplest operation on a date creates very unexpected result. Even a simple copy inserting of cell values creates surprises as in cell D2 which has the simple formula of D2 = A2 So as can be seen 1804 become 10 Dec 1904 and similar anomalies can be seen further down the column, but some of the dates are copied faithfully. As this phenomenon seems common to both LibreOffice Calc and MS Excel I am beginning to suspect it is due to a peculiarity of how dates are formatted/stored in FH.
Does anyone have any ideas how these little gremlins can be tamed?
As always, many thanks in advance.
Brian