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

Yun does not return milliseconds #49

Open
flycast opened this issue Oct 12, 2017 · 0 comments
Open

Yun does not return milliseconds #49

flycast opened this issue Oct 12, 2017 · 0 comments

Comments

@flycast
Copy link

flycast commented Oct 12, 2017

When using code such as this:

Bridge.begin();

if (!date.running()) {
date.begin("date");
date.addParameter("+%s%N");
date.run();

}

Yun will return the time since epoch in full seconds. It will not return time in a fraction of a second. I personally would like to be able to get time to at least millisecond resolution.

No:
123457891

Yes:
123457891.123

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