secs2time functionality

Hi,

I am trying to process date/time data. I have a wave which contain the date and time. I want to strip the data and save only time into a new wave. I thought I can use secs2time command to process it, but it doesn't allow me to even copy the time to a variable, except printing the time. Is that how it works?

There are at least two ways to do it:

  1. use secs2time, then parse out the hh:mm:ss into 3 variables, not pretty.
  2. Use mod(DateTime, 86400), which will throw away the date part of the time.  The inverse operation, just the date, is floor(DateTime/86400)* 86400