函数名: gettime
功  能: 取得系统时间
用  法: void gettime(struct time *timep);
程序例:
#include   <stdio.h>
#include   <dos.h>
int main(void)
{
   struct  time t;
   gettime(&t);
   printf("The current time is: %2d:%02d:%02d.%02d\n",
          t.ti_hour, t.ti_min, t.ti_sec, t.ti_hund);
   return 0;
}