Do not use obsolete `time-to-seconds' function.

Use `float-time' instead.