vb中怎么表示半点和整点

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/18 08:51:09

vb中怎么表示半点和整点

if minute(now)=0 and second(now)=0 then print "现在是整点"
if minute(now)=30 and second(now)=0 then print "现在是半点"