SUMMARY
To calculate a person's current age, enter the following commands in the
Command window:
m.DOB = {12/03/62}
m.age = ROUND(((DATE() - m.DOB) / 365.25),0)
? m.age
NOTES: The value 365.25 accounts for leap years, and the question mark
tells FoxPro to print the age to the screen. You may need to minimize open
windows to see the printed value.