Comments (7)
31/12/1969 21:00:00 is precisely the Epoch in UTC-3 time zone. How did you calculate that?
I'll see if I can convert epoch time to Excel time. Right now I'm really short on time so I'll likely make any change to the code only next month. But you can count on it
from guiabolso2csv.
All in all the program works well and I'm very pleased, however, the date field does not download correctly. For instance, the day 30/06/2017 is downloaded as "1498791600000".
I've noticed that each date changes by an increment of 86400000, which is the number of seconds in a day multiplied by 1000. For my data, I managed to identify the date of one transaction and then manage to convert the date for all the other records. I hope this helps and thanks again for this routine.
from guiabolso2csv.
Hi Diogo,
I'm glad this is being useful to you. There are a few things missing here and there and I appreciate anytime someone point out.
The time is given in milliseconds since the Epoch, which is a classic time representation on UNIX systems. You can even use python to "decode" it:
python -c 'import time; print time.ctime(1498791600000/1000)'
from guiabolso2csv.
Thanks for the quick reply so late at night, this program has been superb, everything I could wish for!
Hugo, I have calculated that the "1498791600000" number (which refers to 30/06/2017) implies that the system date be: 31/12/1969 21:00:00, does this make sense?
For a future update (in case it's simple to implement), would it be possible to export this date as 42916, which is the number equivalent of 30/06/2017 in Excel?
Thanks in advance!
from guiabolso2csv.
I just reversed the calculation in milliseconds from a known date in my expenses. :) Perhaps you could apply a simple query to the date column based upon a know date in Excel's time format and Epoch's, such as: =42916-(1498791600000-X)/86400000, where X would be the record's date in Epoch.format.
And no worries, the program is already extremely useful and I can always sort these things out through post-processing. Thanks again and keep up the good work!
from guiabolso2csv.
I believe this issue is solved when using the new --excel
flag. (bda95f5)
Using this flag, the output is generated directly in a xlsx
format and the date field works as expected.
Check the updated README for further instructions.
from guiabolso2csv.
Yes, Hugo, you are right, this same issue had been solved with the excel export (I did not remember), but as I had an issue with the additional "--" commands and exported as a csv, the issue resurfaced. Thanks again.
from guiabolso2csv.
Related Issues (14)
- Problema Guiabolso2csv (NO_EVENT_HANDLER_FOUND) HOT 43
- Comando: Intervalo de Meses HOT 2
- Campo de data HOT 3
- EventNotFound HOT 1
- Parou de funcionar HOT 3
- Não valida nem extrai o arquivo HOT 4
- check so as to not export months with no records HOT 4
- Issue running HOT 5
- Criar lançamentos em conta manuais HOT 9
- ValueError: No JSON object could be decoded HOT 10
- "KeyError: 'errorMessage'" in setup test drive HOT 13
- Utilização de selenium HOT 1
- Trazer a data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guiabolso2csv.