[C++ SOURCE]Simple D3D Show Time and Date
Include Files:
[php]#include <ctime>[/php]
Now for the stuff in your Endscene/Renderframe:
Variables:
[php]time_t t = time(0);[/php]
Draw:
[php]DrawString(x,y,color,font, ctime( &t ));[/php]
Remember to give credits for posting, please. Give credits to kotentopf for coding. Oh, and press thanks!
Unknown Coder Provided a much better one.
And silently he added the credits...