I can't find a straight forward answer anywhere. I just want to get the time in a 12 hour clock and/or 24, doesn't matter.
Thanks
This is a discussion on time within the C++ Programming forums, part of the General Programming Boards category; I can't find a straight forward answer anywhere. I just want to get the time in a 12 hour clock ...
I can't find a straight forward answer anywhere. I just want to get the time in a 12 hour clock and/or 24, doesn't matter.
Thanks
http://cboard.cprogramming.com/search.php
It took me 2 second to find a straightforward answer.
Might also try the FAQ? FAQ: How do i display current time and date ?
that's time and date though, i just want the time
Then look here: http://www.opengroup.org/onlinepubs/.../strftime.html
alright that worked, thanks man