Would have been nice to have some more network, code and command line examples. You need to set up a local ntpd and need to point your local master at that temporarily. A better utility to write would be "timediff -s1 -s2" that takes two time servers and shows the offset. I bet there's a way to do that in one line. Anyone?
Um, that's a pretty inaccurate way to notice an offset in the millisecond range, isn't it?
* Okay, you have a little control in that you can press enter, or otherwise set it running, at a particular moment.
I have a program I use in shell scripting called sleepuntil that does something like this, but it doesn't try to be millisecond-accurate.
So I figured you need a time "diff", a single command that updates from both timeservers and then presents the offset in a single operation. So (I just researched this again and) there's three answers here [0], using ntpdate and something I've never seen before called clockdiff.
[0] https://stackoverflow.com/questions/2296981/how-can-i-work-o...