The t0 of your waveform needs to be the present time.  The example
that you are using does not do anything to the timestamp except to
convert it to a date-time string.  You can either configure what ever
you are getting the data from to return the t0 as the accureate
present time, or you can get the waveform component of t0, change it,
and then build the waveform back together again.  This should get you
what you are looking for.

Reply via email to