How to view the Real PC Time and Date in A console Application ?

Hey , I want a simple code to get the Real Time and date in C++ , also i want to know that is there any methods that can i get the time and date without using using the time.h file ? ... thanks in advance :))
use

system("time");
Thanks :) .. but do you know any methods to set it to the hh:mm:ss form ?
Topic archived. No new replies allowed.