How to access sysutils from a console application?

2005-11-11 02:19:31 AM
I apologize in advance for my ignorance--I'm just learning C++.
I can't figure out how to get access to the sysutils functions (like Now,
Date, Time) from a simple console application. It works fine from a
GUI-type application (like the code shown in the Help example for the Now
command). What #include statement is needed to make the systuils work for a
console app?
For now I just want to get a simple program like the following to work:
#include <iostream.h>
void main()
cout << DateTimeToStr(Now());