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:

Snake Bites (1997) Database cloning- will the real -oRiGiNaL- please stand up (2003) bad idea to not use any html files, only .tpl files? (1999) WebCatalog for Postcards ? (1997) OLD ORDERS (1998) [TCPSend] and whois? (1999) Solution help needed (1998) Make sure I understand this??? (1997) multiple skus (2000) WC2.0 Memory Requirements (1997) WebCat2 beta 11 - new prefs ... (1997) WebCat2b13MacPlugIn - [include] (1997) passing search criteria (1997) WebCat2 - Getting to the browser's username/password data (1997) form image (2000) A Trigger Question (2000) Referrer field to header field conversion (1997) storebuilder security (2005) Possible Bug in 2.0b15.acgi (1997) Listserver problem (1997)