Re: Validating a date

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32936
interpreted = N
texte = >Before I go off and write code to do it, has anyone got WC code that will >validate that a date is a valid date (no 30 Feb etc.)?You can generally run dates through the [math] context to clean them up.[math date]{2/30/2000}[/math] will display a corrected date, like 3/1/2000. If you then want to compare that back against the original user-entered date, you can see if they sent you a valid date in the first place.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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:

    
  1. Re: Validating A Date ( Justin Carroll 2004)
  2. Re: Validating A Date ( Donovan Brooke 2004)
  3. Re: Validating A Date ( Terry Wilson 2004)
  4. Validating A Date ( Justin Carroll 2004)
  5. Re: Validating a date (WebDNA Support 2000)
  6. Validating a date (Rónán 2000)
>Before I go off and write code to do it, has anyone got WC code that will >validate that a date is a valid date (no 30 Feb etc.)?You can generally run dates through the [math] context to clean them up.[math date]{2/30/2000}[/math] will display a corrected date, like 3/1/2000. If you then want to compare that back against the original user-entered date, you can see if they sent you a valid date in the first place.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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/ WebDNA Support

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:

[WebDNA] Rewrite url (2013) (2003) Need help with text area (1998) Download (1999) WebCat2b15MacPlugin - showing [math] (1997) [WebDNA] USPS interface (2008) maximu values for sendmail! (1997) Reindexing a db with duplicate numbers... (1999) [WebDNA] WebDNA Not Sending Email (2009) Re2: frames & carts (1997) Bulletin Board.... (2000) [isfile] ? (1997) Running 2 two WebCatalog.acgi's (1996) One more try (1997) Frames and WebCat (1997) [SHOWIF]s and empty arguments (1997) Items XX to XX shown (1997) shipcost (1997) charging? (2001) sort problems....bug or brain fart? (1997)