Re: Problem with Ages
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41064
interpreted = N
texte = >I'm using this code snippet to calculate ages of people in a db dynamically.>>[Format 10.0d][math](({[DATE %m/%d/%Y]}-{[DOB]})/365)[/math][/format]Hmm, just a guess, but with leap years and all, try dividing by 365.25 to see if that helps.-- ______________________________________________________________________________Grant Hulbert | Internet Software Inventor | http://www.hulbertfamily.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I'm using this code snippet to calculate ages of people in a db dynamically.>>[Format 10.0d][math](({[DATE %m/%d/%Y]}-{[DOB]})/365)[/math][/format]Hmm, just a guess, but with leap years and all, try dividing by 365.25 to see if that helps.-- ______________________________________________________________________________Grant Hulbert | Internet Software Inventor | http://www.hulbertfamily.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Grant Hulbert
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Exclamation point (1997)
Working Days (2004)
OT: Need some DVD advice (2006)
RE: Error -108 (1997)
Listserver problem (1997)
Form Submition (2003)
Templates for Customer Database? (1997)
greater than or equal to (1997)
Still trying to email... (1998)
Banner DNA (1997)
DrWatson Error! (1999)
autocommit problem (1998)
Stop the madness. (1997)
Question... (2002)
Problems appending to database (1997)
Requiring that certain fields be completed (1997)
WebDNA Feature Request (2006)
Alternating colors (1997)
creator code (1997)
Browser Problem?!? Still getting Error message using (1997)