#pragma warning(disable:4996)
#define _CRT_SECURE_NO_WARNINGS
#include <afx.h>
#include <Windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <synchapi.h>
#include <iostream>
#include <atlstr.h>
using namespace std;
HMODULE g_hLogModule = NULL;
#include <time.h>
int main()
{
//获得当前时间戳 秒
INT64 nTime = time((time_t*)NULL);
Sleep(10000);
INT64 nTime2 = time((time_t*)NULL);
printf("nTime %ld , nTime2 %ld", nTime, nTime2);
system("pause");
return 0;
}