You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
When using code such as this:
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
The text was updated successfully, but these errors were encountered: