Re: How old am I?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59936
interpreted = N
texte = I would recommend always formatting user input before doing substring parsing to avoid choking on non-normalized dates such as "11/2/58". Convert the date to the proper format first: [FORMAT days_to_date][MATH]{10/5/59}[/MATH][FORMAT] Converts "10/5/59" to "10/05/1959" -Chris =20 -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Gary Krockover Sent: Sunday, November 07, 2004 8:54 PM To: WebDNA Talk Subject: Re: How old am I? How about: [text show=3Df]dob=3D11/21/1960[/text] [getchars start=3D1&end=3D2&from=3Dend][math date]{[date]}-{[dob]}[/math][/getchars] GK At 10:09 PM 11/7/2004, you wrote: >I tried that first, something like > >[math]{[date]}-{[dob]}[/math] > >and the answer I get back is 12 > >If i put in, say, 11/21/1960 > >Regards, > >Will Starck ------------------------------------------------------------- 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://webdna.smithmicro.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: How old am I? ( Donovan Brooke 2004)
  2. Re: How old am I? ( "Chris List Recipient" 2004)
  3. Re: How old am I? ( Gary Krockover 2004)
  4. Re: How old am I? ( WJ Starck 2004)
  5. Re: How old am I? ( Gary Krockover 2004)
  6. Re: How old am I? ( WJ Starck 2004)
  7. Re: How old am I? ( eLists 2004)
  8. How old am I? ( WJ Starck 2004)
I would recommend always formatting user input before doing substring parsing to avoid choking on non-normalized dates such as "11/2/58". Convert the date to the proper format first: [FORMAT days_to_date][math]{10/5/59}[/MATH][format] Converts "10/5/59" to "10/05/1959" -Chris =20 -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Gary Krockover Sent: Sunday, November 07, 2004 8:54 PM To: WebDNA Talk Subject: Re: How old am I? How about: [text show=3Df]dob=3D11/21/1960[/text] [getchars start=3D1&end=3D2&from=3Dend][math date]{[date]}-{[dob]}[/math][/getchars] GK At 10:09 PM 11/7/2004, you wrote: >I tried that first, something like > >[math]{[date]}-{[dob]}[/math] > >and the answer I get back is 12 > >If i put in, say, 11/21/1960 > >Regards, > >Will Starck ------------------------------------------------------------- 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://webdna.smithmicro.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://webdna.smithmicro.com/ "Chris List Recipient"

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:

payflowpro problem #3 (2003) SetHeader (1997) Summing results of a nested search (2006) Search design (1997) Weird Math and SV (1997) URGENT: WebDNA Server Not Running (2003) Separate SSL Server (1997) ODBC problems between webcat and filemaker pro (2001) Multiple Pulldowns (1997) Make sure I understand this??? (1997) Re[2]: Search Engines (2000) CSS in HTML emails? (2003) Help name our technology! I found it (1997) WebDNA 4.5 not starting on boot? (2002) Re:2nd WebCatalog2 Feature Request (1996) multi-paragraph fields (1997) TCPConnect & TCPSend (2003) 'does not contain' operator needed ... (1997) Secure server question (1997) three cart questions (1997)