|I'm learning C++ too. In one of the things I've made I have the date and time. If you have Windows XP and up you can type in :|
cout << "\n";
echo is the dos command for cout or printf() depending on which one you normally use. I use it though when I use environmental variables.
The only problem is that the format is probably going to be in a 24 hour clock.