[Tinyos-help] absolute time and binary milliseconds - how to
translate?
James Kebinger
james.kebinger at tufts.edu
Tue Jul 24 13:21:31 PDT 2007
Hello all, I've got what I hope is a simple question for you: I want to do
some real quick and dirty time synchronization for a project. I see that the
Time and TimeSet interfaces work off a 64 bit value of binary milliseconds.
Given a real time n in decimal milliseconds (since the standard epoch) can i
just multiply that by 1024/1000 to get binary milliseconds (and vice versa
to translate back)?
Is there a gotcha here I'm not seeing?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070724/1e300b93/attachment.htm
More information about the Tinyos-help
mailing list