http://qs321.pair.com?node_id=725831


in reply to Re^2: Epoch time in milliseconds: Is there a better way?
in thread Epoch time in milliseconds: Is there a better way?

If all you want is "minute or two" accuracy, you don't need a hires timer. Just set the milliseconds portion of your string to '000'. You are still two orders of magnitude better accuracy than the spec calls for.
  • Comment on Re^3: Epoch time in milliseconds: Is there a better way?

Replies are listed 'Best First'.
Re^4: Epoch time in milliseconds: Is there a better way?
by logan (Curate) on Nov 25, 2008 at 20:34 UTC
    It's true, I don't actually need real accuracy for the script to work, but my feeling is that having an accurate timestamp can't hurt. Also, I may want/need to use the data at some point in the future so I might as well do it right the first time.

    -Logan
    "What do I want? I'm an American. I want more."