TODMSECSTR

Purpose:

Returns the number of seconds to millisecond precision from a time string.

Syntax:

TODMSECSTR("timestr")

"timestr"

-

A string. The time in hh:mm:ss.iii format.

Returns:

A real, the total number of seconds represented by the time string. The fractional part represents milliseconds.

Example:

todmsecstr("12:00:00.101")

 

returns 43200.101.

Remarks:

A value of 0 seconds represents midnight. Since the total number of seconds in a day is 86400, todmsecstr("12:00:00.000") is 43200.0 or noon.

 

Use STRTODMSEC to convert seconds into a time string with milliseconds.

See Also:

STRJUL

STRTOD

STRTODMSEC

TODSTR