Announcement

Collapse
No announcement yet.

output sc_time_diff

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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..

    Comment

    Working...
    X