Re: How old am I?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59937
interpreted = N
texte = Chris List Recipient wrote: > 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 Well, for the next step towards robust code, you can then solidify the format to get around pref issues: [FORMAT days_to_date %m/%d/%Y][MATH]{10/5/59}[/MATH][FORMAT] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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)
Chris List Recipient wrote: > 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 Well, for the next step towards robust code, you can then solidify the format to get around pref issues: [FORMAT days_to_date %m/%d/%Y][math]{10/5/59}[/MATH][format] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

Sorting ip addresses (2002) Re:2nd WebCatalog2 Feature Request (1996) Lookup question (2001) shownext example (2001) F3 crashing server (1997) Date problems (1997) Authenticate (1999) autosensing lanague selection (1997) Error Lob.db records error message not name (1997) What's a domain? (2003) The address of this list has changed to WebCatalog-Beta@talk.smit (2000) Running _every_ page through WebCat ? (1997) UnitShipCost, Formulas.db and passwords (2003) Summarising on two fields (1998) Checking for blank form fields (sort of...) (1998) [WebDNA] Successful, working WebDNA7/CentOS install? (2013) shipCost not working v2.1b4 (1997) WebCatalog and Macromedia Flash (1998) NEWBIE ? help with link (1998) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)