Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot copy dates to Excel. #143

Open
audetto opened this issue Jan 31, 2023 · 0 comments
Open

Cannot copy dates to Excel. #143

audetto opened this issue Jan 31, 2023 · 0 comments

Comments

@audetto
Copy link

audetto commented Jan 31, 2023

Bug Report

Steps to Reproduce:

  1. Run a query that returns a date in a table.
  2. Copy
  3. Paste in Excel
  4. Value is "2023.01.23"
  5. Excel does not recognise it as a date

Expected Result:

Date automatically handled in Excel.

Actual Result:

Excel sees a string not a date. Even =DATEVALAUE() cannot handle the string format.

Environment:

Windows 11, Excel 365

Additional Context:

Excel represents dates as number of days since 1900 something. Ideally kdb-studio should use this format.

Using a string still requires DATEVALUE(), in which case kdb-studio should select a better format (see https://support.microsoft.com/en-us/office/datevalue-function-df8b07d4-7761-4a93-bc33-b7471bbff252) but it might become locale-dependent. The number is safer.

"Open in Excel" works, but it has the bad habit of opening a new Excel session, from which one can copy, true, but still very cumbersome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant