Date & Time Functions

We use the ‘?’  sign before the functions-

? date()
This command shows the system date.

? time()
This command shows the system time

? cdow(date())
This will show the current Day name.

? month(date())
This will show the month’s number.

? year(date())
This will show the current year.

? DBF()
This will show the current opened database file name.

? version()
This will show the version of the FoxPro database system.

? OS()This will show the DOS Operating System version.