VB中 简单的用形如:gettime(&now);格式就行,其中struct time now;时:now.ti_hour,分: now.ti_min,秒: t.ti_sec,
t = gettime(now)
set.gettime