vb6 - Visual Basic 6.0 : Function time -


public t,tt integer public traveltime(row, row) double 

above how declare t , tt in coding. t , tt total time of traveltime.

my problem is, failed find ways declare t , tt.

i did try using

formatdatetime(d, vbshorttime) string 

it prompt error

"compile error: statement invalid outside type block"

is there other ways can declare t, tt , traveltime, when calculates traveltime, appear based on hh:mm:ss now, shows 19:75 instead of 20:15

are there ways, can explain part did wrong?

thanks!


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -