output sc_time_diff

hi all,

i have

$selisih = sc_time_diff ($date_in, $date_out);
sc_alert ($selisih);

Showing output : Array

how can show data, hour : minute & second on array ?

Regards
Iwan S

sc_time_diff ({time1}, “Time1 Format”, {time2}, “Time2 Format”);

This macro clculates the difference between hour, minutes and seconds for two time values.

The result will be returned in an array, with the dimensions [0], [1] and [2] containing hours, minutes and seconds, respectively.

Par?meter

Description
time1
Valor ou vari?vel contendo a primeira hora.

Time1 Format
Valor ou vari?vel contendo o formato no qual est? armazenada a hora1.

time2
Value or variable for Time2

Time2 Format
Value or variable to specify the format of Time2

Check the manual… You will find it under HELP -> WebHelp then go to the part called scriptcase macros…