Code Monkey home page Code Monkey logo

Comments (1)

brechtsanders avatar brechtsanders commented on August 19, 2024

Hi,

Thanks for your example.

I am aware the library doesn't actually detect the type of data at this
time.
That is why the C library has functions like
xlsxioread_sheet_next_cell_datetime() which allow you to actually read a
Unix timestamp value.

In your example I see the first column has cells defined as:

which refers to cellXfs:

which in turn refers to numFmts:

So even though there is a format string there, I can't really see
anything actually saying it is a Windows timestamp value.

Let me think about this for a bit, maybe I will come up with a solution.
Make sure to check if a next version is released.
Regards
Brecht

On 14/06/2016 21:55, Pranesh Rao wrote:

First of all, thanks for developing this application. It is very useful.
I compiled the code in Ubuntu 14.04 and ran the xlsxio_xlsx2csv
program on an xlsx file. The first column of the file consists of a
date string in the format mm/dd/yyyy hh:mm:ss. The csv file appears to
contain Microsoft timestamps. See attached zip file containing xlsx
and csv files. For example, 1/1/2014 00:00:00 gets converted to 41640.
It would be useful to dump out the time stamp as a string or have the
option of getting a linux time stamp.
Thanks.
0.zip https://github.com/brechtsanders/xlsxio/files/314828/0.zip


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#5, or mute the thread
https://github.com/notifications/unsubscribe/AQ0-eSggqq3ahxHshPvyrLslIM3Lqi6Eks5qLwcVgaJpZM4I1sos.

from xlsxio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.