Quick time question

Started by
2 comments, last by SiCrane 16 years, 4 months ago
Hi all. Just wondering how I could quickly and efficiently populate two variables, say "minutes" and "hours" with the correct time. (I'm trying to make myself a nice little openGL clock) Can anyone help? Cheers
Advertisement
In what operating system? In which language? Are you using any libraries other than OpenGL?
Yes that would all be very useful information wouldn't it? I keep forgetting there's a world outside c++ ;)


So, Win32, C++

I don't think I'm using any libraries other than openGL

Thanks.

You could try the localtime() function in the time.h/ctime header.

This topic is closed to new replies.

Advertisement