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
Post a Comment