in reply to Re: to print a system command
in thread to print a system command

Or system("date", "-s", "2 June 2010 18:00:00") which is way better since you don't need to worry about the shell that way.