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

Export format: What kind of timestamp is the data? #79

Closed
matthiasbeyer opened this issue Apr 10, 2016 · 5 comments
Closed

Export format: What kind of timestamp is the data? #79

matthiasbeyer opened this issue Apr 10, 2016 · 5 comments

Comments

@matthiasbeyer
Copy link

Hey,

I want to use the data I can export with the export functionality to create some graphics for my walking behaviour. Though I don't know what kind of timestamp you are using. It is not Unix timestamp, as this

$ date --date "@1454281200000"
So 3. Mai 10:00:00 CEST 48054

shows (1454281200000 is a timestamp from the export).

What kind of timestamp are you using?

@j4velin
Copy link
Owner

j4velin commented Apr 10, 2016

Milliseconds since 1970

@matthiasbeyer
Copy link
Author

Why would you pick such a weird export format? Why not simple <YYYY>-<MM>-<DD>? Is there any technical reason for this?

@j4velin
Copy link
Owner

j4velin commented Apr 10, 2016

I dont think it weirder than any other date format. I mean, you nearly got it right when tried it as a seconds since epoch format to begin with

@matthiasbeyer
Copy link
Author

Yes, but it is neither Unix timestamp nor any other ... known format. I'd expect at least unix timestamp when seeing such values... but instead I had to ask here how to parse my data...

@ogr3
Copy link
Contributor

ogr3 commented Apr 10, 2016

It's a known format. It's a Java standard timestamp (https://docs.oracle.com/javase/7/docs/api/java/lang/System.html#currentTimeMillis())

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

3 participants