?? ftime.c
字號:
#include <stdio.h>
#include <time.h>
#include <sys\timeb.h>
void main(void)
{
struct timeb timezone;
tzset();
ftime(&timezone);
printf("Seconds since 1 January 1970 (GMT) %ld\n",
timezone.time);
printf("Fractional seconds %d\n", timezone.millitm);
printf("Hours difference between GMT and local zone %d\n",
timezone.timezone / 60);
if (timezone.dstflag)
printf("Daylight savings time active\n");
else
printf("Daylight savings time inactive\n");
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -