Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is faster: insert from memvar or insert fields?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139366
Message ID:
01139523
Views:
11
>>>What do you think about age? Is there a simpler way to find person's age in years?
>>
>>(val(dtoc(date(),1)) - val(dtoc(m.bDate),1))/10000
>>
>>could be used for years.
>>Cetin
>
>How accurate it is? Can I rely on it?

How accurate is your upper limit of 120 years? :)
I think even following will be accurate enough
(YEAR(DATE()) - YEAR(m.bDate)) < 120
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform