
I am not out to post "Copy and Paste" code. Figure it out yourself

SYSTEMTIME st; GetSystemTime(&st); st.w(insert time measurement here)
char timebuffer[512]; sprintf_s(timebuffer, 512, "[ %d / %d / %d ] - [ %d : %d : %d ]", (int)st.wMonth, (int)st.wDay, (int)st.wYear, (int)st.wHour - 4, (int)st.wMinute, (int)st.wSecond); DrawString(10, 10, timebuffer, D3DCOLOR_XRGB(255, 0, 0));