<<

Contents

Search

>>

 

TIME_TO_SECONDS

 

 

Function

 

 

Syntax:

TIME_TO_SECONDS(<Time string>)

 

<Time string> = <STRING-EXPRESSION>

 

Meaning:

Converts a time string to seconds.

 

<Time string> must have the format HH:MM:SS.

 

A time string in format XX (without colon, e.g.12) is interpreted as hours.

 

A time string in format XX:YY is interpreted as hours and minutes.

 

Parameter:

Time string

Time string in format HH:MM:SS

 

Sample:

SEC% = TIME_TO_SECONDS(TIME$)

 

See also:

STRTIME$

TIME_ADD$

TIME_DIFF