tf_current_start/3—obtain the start time of the active interval of a time frame at a specified time

The syntax for tf_current_start/3 is as follows:

tf_current_start($TIMEFRAME,$TIME,$START)
$START=tf_current_start($TIMEFRAME,$TIME)

tf_current_start/3 arguments 

Argument

Mode

Type

Description

$TIMEFRAME

Input

OBJECT

Specifies the time frame object

$TIME

Input

INTEGER

Specifies the time for the active interval

$START

Output

INTEGER

Start time of active interval at given time

Use the tf_current_start/3 to obtain the start time of the active interval at $TIME, of time frame $TIMEFRAME in $START.

A 0 value is returned if the indicated time frame is not active at the given time.

tf_current_start/3 example

$START = tf_current_start($TF,$TM);
Was this page helpful? Yes No Submitting... Thank you

Comments